Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor some completions to avoid loops | Tom Ryder | 2018-12-07 | 1 | -9/+4 |
| | |||||
* | Overhaul Bash completion scripts | Tom Ryder | 2018-12-02 | 1 | -9/+12 |
| | | | | | | | | | | | 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 words | Tom Ryder | 2018-12-01 | 1 | -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. | ||||
* | Fix backwards test for gpg(1) completion | Tom Ryder | 2018-12-01 | 1 | -1/+2 |
| | |||||
* | Remove redundant error code in short circuits | Tom Ryder | 2018-12-01 | 1 | -1/+1 |
| | |||||
* | Adjust loop short circuits and pattern matches | Tom Ryder | 2018-12-01 | 1 | -3/+8 |
| | |||||
* | Remove stray comment no longer applicable | Tom Ryder | 2018-12-01 | 1 | -2/+0 |
| | |||||
* | Drop support for Bash <= 3.0 | Tom Ryder | 2018-11-30 | 1 | -5/+1 |
| | | | | | | This allows removing a fair bit of boilerplate checking for the availability of `-o bashdefault` for the `complete` builtin, and greatly simplifies the minimum version check. | ||||
* | Use bashdefault if available in more completions | Tom Ryder | 2017-02-12 | 1 | -1/+7 |
| | |||||
* | Tidy completion files | Tom Ryder | 2016-07-30 | 1 | -1/+1 |
| | | | | Add comments, add short-circuit to vared() completion | ||||
* | Move bash completion setup into separate dir | Tom Ryder | 2016-07-30 | 1 | -0/+17 |