Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove blank lines at end of files | Tom Ryder | 2016-03-28 | 1 | -1/+0 |
| | |||||
* | 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 | ||||
* | Exclude stuff not a filename in current directory | Tom Ryder | 2015-10-21 | 1 | -2/+2 |
| | | | | | Otherwise Bash adds a slash to it. %q quoting isn't perfect, but it's better | ||||
* | 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 | -25/+31 |
| | | | | | | | | | | | | | | * 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 | ||||
* | Handle spaces correctly in completions | Tom Ryder | 2015-10-20 | 1 | -0/+2 |
| | | | | | | This is technically still wrong; COMPREPLY needs to be specified with null-delimited IFS, as done in the pass() function. This will do for now. | ||||
* | Fix a logic bug | Tom Ryder | 2015-08-05 | 1 | -1/+2 |
| | |||||
* | More intelligent trailing-slash filtering | Tom Ryder | 2015-08-05 | 1 | -3/+1 |
| | |||||
* | Pass bd options to cd | Tom Ryder | 2015-08-05 | 1 | -2/+22 |
| | |||||
* | Remove unnecessary trailing slash strip | Tom Ryder | 2015-08-05 | 1 | -2/+1 |
| | |||||
* | Much more thorough bd() implementation | Tom Ryder | 2015-08-05 | 1 | -14/+53 |
| | |||||
* | Start from parent dir when stripping bd() | Tom Ryder | 2015-08-05 | 1 | -1/+2 |
| | |||||
* | Strip unneeded quotes | Tom Ryder | 2015-08-05 | 1 | -1/+1 |
| | |||||
* | Fix local var | Tom Ryder | 2015-08-05 | 1 | -0/+1 |
| | |||||
* | Separate declaration from assignment | Tom Ryder | 2015-06-06 | 1 | -1/+2 |
| | |||||
* | Use consistent [[ syntax | Tom Ryder | 2015-06-04 | 1 | -1/+1 |
| | | | | Explicit -n, ! within [[ | ||||
* | Correct argument test in bd() and prompt() | Tom Ryder | 2015-06-04 | 1 | -1/+1 |
| | |||||
* | Remove superfluous null check | Tom Ryder | 2015-05-03 | 1 | -1/+1 |
| | |||||
* | Use FUNCNAME rather than hardcoding helper funcs | Tom Ryder | 2015-04-29 | 1 | -1/+2 |
| | |||||
* | Correct error message | Tom Ryder | 2014-10-04 | 1 | -1/+1 |
| | |||||
* | Command to move up directory tree to matching name | Tom Ryder | 2014-10-04 | 1 | -0/+36 |