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 | ||||
* | Separate declaration from assignment | Tom Ryder | 2015-06-06 | 1 | -1/+2 |
| | |||||
* | Move scp wrapper into its own file | Tom Ryder | 2015-04-02 | 1 | -9/+0 |
| | |||||
* | Include system-wide ssh config in completion | Tom Ryder | 2015-03-25 | 1 | -12/+10 |
| | | | | Also, let the shell do the complaining if the file can't be read | ||||
* | Remove unnecessary null COMPREPLY assigns | Tom Ryder | 2014-11-13 | 1 | -1/+0 |
| | |||||
* | Remove some overzealous command checks | Tom Ryder | 2014-10-13 | 1 | -5/+0 |
| | |||||
* | Use one-arg form of printf for static strings | Tom Ryder | 2014-07-02 | 1 | -1/+1 |
| | |||||
* | Use space before semicolon as command separator | Tom Ryder | 2014-02-10 | 1 | -4/+4 |
| | |||||
* | Wrap scp with function to check for colon | Tom Ryder | 2014-01-09 | 1 | -0/+9 |
| | |||||
* | 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 | -2/+2 |
| | |||||
* | Fix comment typo | Tom Ryder | 2013-09-15 | 1 | -1/+1 |
| | |||||
* | Better syntax for array append | Tom Ryder | 2013-09-09 | 1 | -1/+1 |
| | |||||
* | Forgot a couple of array declarations | Tom Ryder | 2013-09-01 | 1 | -1/+1 |
| | |||||
* | More sensible use of local | Tom Ryder | 2013-09-01 | 1 | -4/+4 |
| | | | | | | Don't declare integers/arrays, just use them. Also includes a minor scope fix -- don't need to count number of colors on every call to prompt(), just for `prompt on`. | ||||
* | Remove scp completion | Tom Ryder | 2013-09-01 | 1 | -7/+0 |
| | | | | Found it more trouble than it was worth | ||||
* | Move SSH completion into its own file | Tom Ryder | 2013-09-01 | 1 | -0/+31 |