Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Two-space sentences in shell comments | Tom Ryder | 2018-12-27 | 1 | -1/+1 |
| | |||||
* | Remove now-unneeded shellcheck disable rules | Tom Ryder | 2018-12-17 | 1 | -1/+0 |
| | | | | | | | These two comments disabling SC2154 were added in commit 5fa3ef7, because ShellCheck 0.50 did not recognise the NAME pointed to by `read -a NAME` commands as an array assignment. This bug has been corrected in ShellCheck 0.60, meaning that these comments are no longer required. | ||||
* | Disable shellcheck rules for missed definition | Tom Ryder | 2018-12-07 | 1 | -1/+1 |
| | | | | These two arrays are both defined by `read -a`. | ||||
* | Remove unneeded local var | Tom Ryder | 2018-12-02 | 1 | -1/+1 |
| | |||||
* | Remove unneeded `local` declaration | Tom Ryder | 2018-12-02 | 1 | -1/+0 |
| | |||||
* | Reorder pattern filters for Makefile lines | Tom Ryder | 2018-12-02 | 1 | -2/+2 |
| | |||||
* | Overhaul Bash completion scripts | Tom Ryder | 2018-12-02 | 1 | -40/+53 |
| | | | | | | | | | | | 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 | -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. | ||||
* | Adjust loop short circuits and pattern matches | Tom Ryder | 2018-12-01 | 1 | -3/+4 |
| | |||||
* | Drop support for Bash <= 3.0 | Tom Ryder | 2018-11-30 | 1 | -7/+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 |
| | |||||
* | Add some missing "local" calls | Tom Ryder | 2016-12-12 | 1 | -0/+1 |
| | |||||
* | Observe POSIX spec for looking for Makefile name | Tom Ryder | 2016-10-21 | 1 | -3/+8 |
| | |||||
* | Skip comments in Makefile Bash completion | Tom Ryder | 2016-09-05 | 1 | -0/+1 |
| | |||||
* | Add -r to read to placate shellcheck | Tom Ryder | 2016-08-23 | 1 | -1/+1 |
| | |||||
* | Move bash completion setup into separate dir | Tom Ryder | 2016-07-30 | 1 | -0/+44 |