fish-shell/init/completions/sudo.fish
axel fbe66f54aa Make completion of subsommands for time and sudo a bit better at differing between command and subcommand
darcs-hash:20060202153151-ac50b-d943052af165dc345366b49a5db413f635a2f28a.gz
2006-02-03 01:31:51 +10:00

8 lines
249 B
Fish

#
# Completion for sudo
#
complete -c sudo -d (_ "Command to run") -x -a "(__fish_complete_subcommand)"
complete -c sudo -s h -n "__fish_no_arguments" -d (_ "Display help and exit")
complete -c sudo -s v -n "__fish_no_arguments" -d (_ "Validate")