diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-01 14:14:50 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-01 14:14:50 +1200 |
commit | 64d4dbcce814d8f4fca9c1acfef21c7bd5b89c53 (patch) | |
tree | acd927e56a68fb261f98eb7b2b761e993bcdac13 /bash/bashrc.d | |
parent | Refactor welcome.sh (diff) | |
download | dotfiles-64d4dbcce814d8f4fca9c1acfef21c7bd5b89c53.tar.gz dotfiles-64d4dbcce814d8f4fca9c1acfef21c7bd5b89c53.zip |
Correct completions for declare, typeset etc
All of them can accept function names
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r-- | bash/bashrc.d/completion.bash | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bash/bashrc.d/completion.bash b/bash/bashrc.d/completion.bash index ecdffab8..0ddb1b55 100644 --- a/bash/bashrc.d/completion.bash +++ b/bash/bashrc.d/completion.bash @@ -37,11 +37,8 @@ complete -A shopt shopt # Signal names complete -A signal trap -# Variables -complete -A variable declare export readonly typeset - # Both functions and variables -complete -A function -A variable unset +complete -A function -A variable declare export readonly typeset unset # The `mapfile` builtin in Bash >= 4.0 ((BASH_VERSINFO[0] >= 4)) && complete -A arrayvar mapfile |