diff options
author | axel <axel@liljencrantz.se> | 2006-09-14 03:13:10 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-09-14 03:13:10 +1000 |
commit | 4037219dc062acaf3792b818cceb8cc9ef3d5bcb (patch) | |
tree | 4642aca375c28891a54538af93001afb163675ea /share/completions/sudo.fish | |
parent | 1612ec50fbac4344f365fb31a15240834c01eaeb (diff) |
Make sude completions include /sbin and /usr/sbin in PATH. Thanks to Xavier Douville for the suggestion.
darcs-hash:20060913171310-ac50b-a9e30533bc634f194f73fdee1e042d407f55fcac.gz
Diffstat (limited to 'share/completions/sudo.fish')
-rw-r--r-- | share/completions/sudo.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/sudo.fish b/share/completions/sudo.fish index a88f9182..b497e8bd 100644 --- a/share/completions/sudo.fish +++ b/share/completions/sudo.fish @@ -2,7 +2,7 @@ # Completion for sudo # -complete -c sudo -d (N_ "Command to run") -x -a "(__fish_complete_subcommand)" +complete -c sudo -d (N_ "Command to run") -x -a '(__fish_complete_subcommand_root)' complete -c sudo -s h -n "__fish_no_arguments" -d (N_ "Display help and exit") complete -c sudo -s v -n "__fish_no_arguments" -d (N_ "Validate") |