aboutsummaryrefslogtreecommitdiff
path: root/bash
Commit message (Collapse)AuthorAgeFilesLines
* Whoops, dropped an important characterTom Ryder2015-12-111-1/+1
|
* Put printing/globbing in subshellTom Ryder2015-12-111-5/+9
|
* Create bashkeep directory if it doesn't existTom Ryder2015-12-111-0/+1
|
* Restore previous fnl syntax for shellcheckTom Ryder2015-12-111-2/+3
|
* Add keepTom Ryder2015-12-111-0/+134
|
* Fix some trailing spacesTom Ryder2015-12-011-1/+1
|
* Fix up some mktemp(1) templatesTom Ryder2015-11-271-3/+2
|
* Remove a now-inapplicable commentTom Ryder2015-11-271-4/+0
|
* Strip colons from COMP_WORDBREAKSTom Ryder2015-11-271-5/+6
| | | | <http://tiswww.case.edu/php/chet/bash/FAQ> E13
* Fix COMP_WORDBREAKSTom Ryder2015-11-271-0/+6
|
* A little more correct stillTom Ryder2015-11-261-5/+6
|
* Fix/flesh out the comments a bitTom Ryder2015-11-261-3/+3
|
* Shellquote man(1) page namesTom Ryder2015-11-261-1/+1
|
* Use slash as delimiter, fixing all these problemsTom Ryder2015-11-261-16/+3
| | | | Eureka!
* Ignore stderr from manpath(1)Tom Ryder2015-11-261-1/+1
|
* This apostrophe breaks the subshell on Bash 4.1Tom Ryder2015-11-261-1/+1
|
* Add explicit delimiter to printTom Ryder2015-11-261-1/+1
|
* Experimental man(1) completionTom Ryder2015-11-261-0/+65
|
* Only complete vis(1) args as filenamesTom Ryder2015-11-161-1/+1
|
* Completion for vis(1)Tom Ryder2015-11-131-0/+23
|
* Use consistent version checkTom Ryder2015-10-211-3/+1
|
* Strip trailing whitespaceTom Ryder2015-10-212-3/+3
|
* Remove directory change from pass completionTom Ryder2015-10-211-4/+3
|
* Fix another comment typoTom Ryder2015-10-211-2/+2
|
* Fix comment typoTom Ryder2015-10-211-1/+1
|
* Remove unneeded options terminatorTom Ryder2015-10-211-1/+1
|
* Fix typoTom Ryder2015-10-211-1/+1
|
* Move keyword into glob completion generationTom Ryder2015-10-211-2/+1
|
* Exclude stuff not a filename in current directoryTom Ryder2015-10-213-7/+15
| | | | | Otherwise Bash adds a slash to it. %q quoting isn't perfect, but it's better
* Fix backwards testTom Ryder2015-10-211-1/+1
|
* Flatten expansion for ancient BashTom Ryder2015-10-211-1/+1
| | | | bash: 0: ambiguous redirect
* Correct enumeration of git refs in completionTom Ryder2015-10-211-1/+2
|
* Change COMP_REPLY to intended COMP_WORDSTom Ryder2015-10-211-1/+1
|
* Move quoting into generating loopTom Ryder2015-10-211-2/+3
| | | | Avoids yet another subshell
* When expanding with globbing, use prefixTom Ryder2015-10-214-9/+4
| | | | | Rather than generating all possible completions and then filtering them down, use the completing word as a prefix for the glob
* Switch compopt back outTom Ryder2015-10-2110-40/+15
| | | | | Damn, looks like 2.05a doesn't have compopt; put it back into the complete line
* Tidy up completion considerably; no more compgenTom Ryder2015-10-2115-243/+325
| | | | | | | | | | | | | | * 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 completionsTom Ryder2015-10-204-0/+8
| | | | | | 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.
* Don't require fnl() arg is a commandTom Ryder2015-10-121-1/+1
| | | | Allow builtins, functions
* New function fnl()Tom Ryder2015-10-121-0/+45
|
* Add options terminator to scr() mktemp(1) callTom Ryder2015-10-121-1/+1
|
* Add sd Bash function (sibling directory switch)Tom Ryder2015-10-091-0/+119
|
* Appease shellcheck with multi arith expsTom Ryder2015-10-023-6/+6
|
* Simplify Bash version checks a bit moreTom Ryder2015-09-253-15/+19
|
* Put path func help into heredocTom Ryder2015-09-081-20/+22
| | | | A little more manageable
* Correct a version checking integerTom Ryder2015-08-221-1/+1
|
* Remove overkill chopping on BASH_VERSINFO[0]Tom Ryder2015-08-226-9/+9
| | | | Pointed out by Amy Grace.
* Fix a logic bugTom Ryder2015-08-051-1/+2
|
* More intelligent trailing-slash filteringTom Ryder2015-08-052-10/+11
|
* Pass options to cd from udTom Ryder2015-08-051-1/+20
|