mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-26 07:41:15 -03:00
committed by
David Adam
parent
713c8f2d32
commit
e0d4a1d78b
@@ -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
|
||||
Reference in New Issue
Block a user