fish-shell/share/completions/sudo.fish
axel 4037219dc0 Make sude completions include /sbin and /usr/sbin in PATH. Thanks to Xavier Douville for the suggestion.
darcs-hash:20060913171310-ac50b-a9e30533bc634f194f73fdee1e042d407f55fcac.gz
2006-09-14 03:13:10 +10:00

8 lines
257 B
Fish

#
# Completion for sudo
#
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")