Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch to a faster method of array appending | Tom Ryder | 2015-12-14 | 1 | -2/+2 |
| | | | | | Does away with the nasty hack around man page discovery, and still compatible with Bash 2.05a | ||||
* | Switch compopt back out | Tom Ryder | 2015-10-21 | 1 | -4/+1 |
| | | | | | Damn, looks like 2.05a doesn't have compopt; put it back into the complete line | ||||
* | Tidy up completion considerably; no more compgen | Tom Ryder | 2015-10-21 | 1 | -11/+14 |
| | | | | | | | | | | | | | | * 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 | ||||
* | Remove unnecessary IFS definition | Tom Ryder | 2015-06-08 | 1 | -1/+1 |
| | |||||
* | Separate declaration from assignment | Tom Ryder | 2015-06-06 | 1 | -3/+5 |
| | |||||
* | Remove unnecessary null COMPREPLY assigns | Tom Ryder | 2014-11-13 | 1 | -1/+0 |
| | |||||
* | Refine definition of local var | Tom Ryder | 2014-10-19 | 1 | -1/+2 |
| | |||||
* | Remove some overzealous command checks | Tom Ryder | 2014-10-13 | 1 | -5/+0 |
| | |||||
* | Use space before semicolon as command separator | Tom Ryder | 2014-02-10 | 1 | -5/+5 |
| | |||||
* | Check for presence of binaries before script setup | Tom Ryder | 2013-10-16 | 1 | -0/+5 |
| | |||||
* | Use default completion on empty COMPREPLY | Tom Ryder | 2013-10-12 | 1 | -1/+2 |
| | |||||
* | Adjust declarations of local vars in compspecs | Tom Ryder | 2013-10-12 | 1 | -3/+3 |
| | |||||
* | Add .netrc completion for ftp(1) | Tom Ryder | 2013-10-12 | 1 | -0/+31 |