| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
It would be better to refactor this as just listing databases.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
I don't believe these are needed anymore, or possibly ever were.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This helps older versions of Bash understand that the surrounding
subshell isn't terminating.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|