aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/ud.bash
Commit message (Collapse)AuthorAgeFilesLines
* Use the positional parameter aliases for wordsTom Ryder2018-12-011-1/+1
| | | | | The current word is available in $2, and the previous word in $3. That's easier (and maybe a bit less expensive) to dig out, so let's use it.
* Remove unneeded local array declarationTom Ryder2018-12-011-1/+0
|
* Remove unneeded empty result short circuitTom Ryder2018-12-011-3/+0
|
* Remove redundant error code in short circuitsTom Ryder2018-12-011-1/+1
|
* Adjust loop short circuits and pattern matchesTom Ryder2018-12-011-0/+1
|
* Use simpler method of no case completion checkTom Ryder2018-12-011-11/+6
|
* Add left-parens to inner case statementsTom Ryder2018-10-311-2/+2
| | | | | This helps older versions of Bash understand that the surrounding subshell isn't terminating.
* Add missing ;; terminatorsTom Ryder2018-10-311-0/+1
|
* Respect completion-ignore-case in custom functionsTom Ryder2018-10-301-0/+14
| | | | | | This involves a little too much boilerplate for my liking, but it's still an improvement over what I had before. I might find a way to make this into a generic function.
* Move bash completion setup into separate dirTom Ryder2016-07-301-0/+28