aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/keep.bash
Commit message (Collapse)AuthorAgeFilesLines
* Add some comments to keep() completionTom Ryder2018-12-021-0/+4
|
* Overhaul Bash completion scriptsTom Ryder2018-12-021-22/+23
| | | | | | | | | | | Some general changes: * Apply case sensitivity switching in more contexts, using a dynamically loaded helper function * Use array counters for appending to COMPREPLY where possible * Lots more short-circuiting to limit structural depth These changes are expansive and there will definitely be bugs.
* Use the positional parameter aliases for wordsTom Ryder2018-12-011-2/+2
| | | | | 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.
* Overhaul `keep` completionTom Ryder2018-12-011-58/+43
|
* 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/+15
| | | | | | 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.
* Add some missing "local" callsTom Ryder2016-12-121-0/+2
|
* Add -d completion for keep()Tom Ryder2016-09-301-2/+54
|
* Tidy completion filesTom Ryder2016-07-301-1/+1
| | | | Add comments, add short-circuit to vared() completion
* Move bash completion setup into separate dirTom Ryder2016-07-301-0/+2