Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch to a faster method of array appending | Tom Ryder | 2015-12-14 | 1 | -1/+1 |
| | | | | | Does away with the nasty hack around man page discovery, and still compatible with Bash 2.05a | ||||
* | Remove a now-inapplicable comment | Tom Ryder | 2015-11-27 | 1 | -4/+0 |
| | |||||
* | Remove directory change from pass completion | Tom Ryder | 2015-10-21 | 1 | -4/+3 |
| | |||||
* | Move quoting into generating loop | Tom Ryder | 2015-10-21 | 1 | -2/+3 |
| | | | | Avoids yet another subshell | ||||
* | When expanding with globbing, use prefix | Tom Ryder | 2015-10-21 | 1 | -2/+1 |
| | | | | | Rather than generating all possible completions and then filtering them down, use the completing word as a prefix for the glob | ||||
* | Tidy up completion considerably; no more compgen | Tom Ryder | 2015-10-21 | 1 | -18/+15 |
| | | | | | | | | | | | | | | * 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 overkill chopping on BASH_VERSINFO[0] | Tom Ryder | 2015-08-22 | 1 | -1/+1 |
| | | | | Pointed out by Amy Grace. | ||||
* | Separate declaration from assignment | Tom Ryder | 2015-06-06 | 1 | -3/+4 |
| | |||||
* | Remove unneeded quoting | Tom Ryder | 2015-06-04 | 1 | -1/+1 |
| | |||||
* | Handle empty pass(1) completes better | Tom Ryder | 2015-06-04 | 1 | -4/+4 |
| | |||||
* | Handle empty password dirs | Tom Ryder | 2015-06-02 | 1 | -2/+3 |
| | |||||
* | Safer version number test | Tom Ryder | 2015-05-30 | 1 | -1/+1 |
| | |||||
* | A few safety fixes to pass completion | Tom Ryder | 2015-05-29 | 1 | -5/+12 |
| | |||||
* | Use custom function for pass(1) completion | Tom Ryder | 2015-05-29 | 1 | -46/+30 |
| | |||||
* | 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/+6 |
| | |||||
* | Remove unneeded ${...} wraps around array derefs | Tom Ryder | 2014-02-19 | 1 | -1/+1 |
| | | | | | Arrays can be dereferenced in arithmetic context, which I didn't realise until I actually tried it. This looks neater. | ||||
* | Use space before semicolon as command separator | Tom Ryder | 2014-02-10 | 1 | -8/+8 |
| | |||||
* | Check for presence of binaries before script setup | Tom Ryder | 2013-10-16 | 1 | -0/+5 |
| | |||||
* | Add completion for pass(1) | Tom Ryder | 2013-10-16 | 1 | -0/+50 |