Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the positional parameter aliases for words | Tom Ryder | 2018-12-01 | 1 | -3/+3 |
| | | | | | 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. | ||||
* | Use simpler keyword complete for `path` subcommand | Tom Ryder | 2018-12-01 | 1 | -3/+11 |
| | |||||
* | Break up a couple of long lines | Tom Ryder | 2018-12-01 | 1 | -1/+2 |
| | |||||
* | Adjust loop short circuits and pattern matches | Tom Ryder | 2018-12-01 | 1 | -2/+5 |
| | |||||
* | Remove null-result guard from completion gens | Tom Ryder | 2018-12-01 | 1 | -8/+2 |
| | | | | I don't believe these are needed anymore, or possibly ever were. | ||||
* | Use simpler method of no case completion check | Tom Ryder | 2018-12-01 | 1 | -11/+6 |
| | |||||
* | Add left-parens to inner case statements | Tom Ryder | 2018-10-31 | 1 | -2/+2 |
| | | | | | This helps older versions of Bash understand that the surrounding subshell isn't terminating. | ||||
* | Add missing ;; terminators | Tom Ryder | 2018-10-31 | 1 | -0/+1 |
| | |||||
* | Respect completion-ignore-case in custom functions | Tom Ryder | 2018-10-30 | 1 | -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. | ||||
* | Add "pop" and "shift" methods to path() | Tom Ryder | 2017-01-25 | 1 | -1/+1 |
| | |||||
* | Remove misplaced \0 in completion func | Tom Ryder | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | Handle empty filename completions better | Tom Ryder | 2016-08-30 | 1 | -5/+9 |
| | | | | | | Bash 4.4 hangs in an awkward way (probably outputting the literal null char in some unexpected context) without this; I'm not sure if this is a bug or whether it's just been tolerated behaviour until now. | ||||
* | Add -r to read to placate shellcheck | Tom Ryder | 2016-08-23 | 1 | -1/+1 |
| | |||||
* | Update path() completion | Tom Ryder | 2016-08-20 | 1 | -3/+3 |
| | |||||
* | Tidy completion files | Tom Ryder | 2016-07-30 | 1 | -1/+0 |
| | | | | Add comments, add short-circuit to vared() completion | ||||
* | Move bash completion setup into separate dir | Tom Ryder | 2016-07-30 | 1 | -0/+60 |