mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-08 01:03:01 +08:00
9 lines
257 B
Fish
9 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")
|