aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/completion.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-01 02:01:33 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-01 02:01:33 +1200
commit48887899b1e9c9bf8354d69aa524bb205de03fd0 (patch)
tree720971f86ec2919bdf8a75418329535e89a9c65f /bash/bashrc.d/completion.bash
parentDon't need -n inside [[ (diff)
downloaddotfiles-48887899b1e9c9bf8354d69aa524bb205de03fd0.tar.gz
dotfiles-48887899b1e9c9bf8354d69aa524bb205de03fd0.zip
Complete exec with commands
Diffstat (limited to 'bash/bashrc.d/completion.bash')
-rw-r--r--bash/bashrc.d/completion.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc.d/completion.bash b/bash/bashrc.d/completion.bash
index 6a382a37..d4bb458b 100644
--- a/bash/bashrc.d/completion.bash
+++ b/bash/bashrc.d/completion.bash
@@ -16,8 +16,8 @@ complete -A setopt set
# shopt with shell options
complete -A shopt shopt
-# sudo with commands (and not files)
-complete -c sudo
+# exec/sudo with commands
+complete -c exec sudo
# unset with shell variables and functions
complete -v -A function unset