aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-01 17:21:01 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-01 17:21:01 +1200
commit5205a6bdf0cfcc8ba3bb6d2d21838e9e7091a73f (patch)
tree80eca9b58e5188553f68ebcd5b6c8e8eac50e842 /bash
parentRemove instances of error-prone &> redirection (diff)
downloaddotfiles-5205a6bdf0cfcc8ba3bb6d2d21838e9e7091a73f.tar.gz
dotfiles-5205a6bdf0cfcc8ba3bb6d2d21838e9e7091a73f.zip
Add file completion to exec/sudo
Diffstat (limited to '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 d4bb458b..6693623f 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
-# exec/sudo with commands
-complete -c exec sudo
+# exec/sudo with commands and files
+complete -cf exec sudo
# unset with shell variables and functions
complete -v -A function unset