mirror of
https://github.com/fish-shell/fish-shell
synced 2024-09-22 07:21:55 +00:00
parent
713c8f2d32
commit
e0d4a1d78b
3 changed files with 2 additions and 4 deletions
|
@ -23,6 +23,7 @@ end
|
|||
|
||||
function __fish_complete_doas_subcommand
|
||||
set -l args (__fish_doas_print_remaining_args)
|
||||
set -lx -a PATH /sbin /usr/sbin
|
||||
complete -C"$args"
|
||||
end
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ end
|
|||
|
||||
function __fish_complete_sudo_subcommand
|
||||
set -l args (__fish_sudo_print_remaining_args)
|
||||
set -lx -a PATH /sbin /usr/sbin
|
||||
complete -C"$args"
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
function __fish_complete_subcommand_root -d "Run the __fish_complete_subcommand function using a PATH containing /sbin and /usr/sbin"
|
||||
set -lx -p PATH /sbin /usr/sbin 2>/dev/null
|
||||
__fish_complete_subcommand $argv
|
||||
end
|
Loading…
Reference in a new issue