diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-31 15:12:53 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-31 15:12:53 +1200 |
commit | 80f93b65d875adc50b41af617e013763cda6a2d1 (patch) | |
tree | 9bca191a22ea7c9da17c07a42d18f0ac653992b5 /bash | |
parent | Fix comment (diff) | |
download | dotfiles-80f93b65d875adc50b41af617e013763cda6a2d1.tar.gz dotfiles-80f93b65d875adc50b41af617e013763cda6a2d1.zip |
Add command completion for sudo
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/completion.bash | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/bashrc.d/completion.bash b/bash/bashrc.d/completion.bash index d0b2c055..a921770b 100644 --- a/bash/bashrc.d/completion.bash +++ b/bash/bashrc.d/completion.bash @@ -16,6 +16,9 @@ complete -A setopt set # shopt with shell options complete -A shopt shopt +# sudo with commands (and not files) +complete -c sudo + # unset with shell variables and functions complete -v -A function unset |