diff --git a/bash_completion b/bash_completion index 4aded0d2..27ad6137 100644 --- a/bash_completion +++ b/bash_completion @@ -1729,7 +1729,8 @@ complete -F _command -o filenames nohup exec nice eval time ltrace then \ _root_command() { - PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin _command $1 $2 $3 + local PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin + _command $1 $2 $3 } complete -F _root_command -o filenames sudo fakeroot really gksudo gksu kdesudo