aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/mysql.bash
Commit message (Collapse)AuthorAgeFilesLines
* Remove mysql(1) completionTom Ryder2018-12-021-42/+0
| | | | It would be better to refactor this as just listing databases.
* 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 redundant error code in short circuitsTom Ryder2018-12-011-2/+2
|
* Remove null-result guard from completion gensTom Ryder2018-12-011-8/+2
| | | | I don't believe these are needed anymore, or possibly ever were.
* Use simpler method of no case completion checkTom Ryder2018-12-011-11/+6
|
* Drop support for Bash <= 3.0Tom Ryder2018-11-301-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.
* 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.
* Use bashdefault if available in more completionsTom Ryder2017-02-121-1/+7
|
* Handle empty filename completions betterTom Ryder2016-08-301-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.
* Move bash completion setup into separate dirTom Ryder2016-07-301-0/+34