Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tidy up completion considerably; no more compgen | Tom Ryder | 2015-10-21 | 1 | -10/+10 |
| | | | | | | | | | | | | | | * Remove all instances of compgen; for filename completion it's quite broken as it relies on implicit wordsplitting in array context, and doesn't have an option to print with a null delimiter; replaced with manual for/while loops instead * Add IFS= to while/read loops over filenames * Use "dirname/s" instead of "dir/s" variables to avoid keyword collisions and for clarity * Remove some unnecessary variables * Use shorter syntax for loop exit conditions * Move completion options into functions where applicable rather than having them on the completion definition itself | ||||
* | Use FUNCNAME rather than hardcoding helper funcs | Tom Ryder | 2015-04-29 | 1 | -3/+6 |
| | |||||
* | Complete cf function with dir names | Tom Ryder | 2015-03-25 | 1 | -0/+1 |
| | |||||
* | Move array decs inline, remove quotes | Tom Ryder | 2014-10-10 | 1 | -2/+1 |
| | |||||
* | Use subshell to elegantly preserve shopts | Tom Ryder | 2014-10-05 | 1 | -24/+8 |
| | |||||
* | Don't break up short lines | Tom Ryder | 2014-02-19 | 1 | -8/+4 |
| | |||||
* | Avoid ambiguous conditional syntax | Tom Ryder | 2014-02-19 | 1 | -4/+12 |
| | |||||
* | Use space before semicolon as command separator | Tom Ryder | 2014-02-10 | 1 | -3/+3 |
| | |||||
* | Better error conditions | Tom Ryder | 2013-12-11 | 1 | -1/+11 |
| | |||||
* | Got my logic backwards; UNSET options | Tom Ryder | 2013-12-11 | 1 | -2/+2 |
| | |||||
* | Error message if not a directory | Tom Ryder | 2013-12-11 | 1 | -3/+8 |
| | |||||
* | Simpler output in the style of du(1) | Tom Ryder | 2013-12-11 | 1 | -1/+1 |
| | |||||
* | Little function to count files | Tom Ryder | 2013-12-11 | 1 | -0/+25 |