From 80f93b65d875adc50b41af617e013763cda6a2d1 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 31 Aug 2013 15:12:53 +1200 Subject: Add command completion for sudo --- bash/bashrc.d/completion.bash | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bash/bashrc.d/completion.bash') 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 -- cgit v1.2.3