mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
Add /usr/local/sbin to PATH for sudo completions
[ci skip]
This commit is contained in:
parent
e0d4a1d78b
commit
dfc1d1931d
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ end
|
||||||
|
|
||||||
function __fish_complete_doas_subcommand
|
function __fish_complete_doas_subcommand
|
||||||
set -l args (__fish_doas_print_remaining_args)
|
set -l args (__fish_doas_print_remaining_args)
|
||||||
set -lx -a PATH /sbin /usr/sbin
|
set -lx -a PATH /usr/local/sbin /sbin /usr/sbin
|
||||||
complete -C"$args"
|
complete -C"$args"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ end
|
||||||
|
|
||||||
function __fish_complete_sudo_subcommand
|
function __fish_complete_sudo_subcommand
|
||||||
set -l args (__fish_sudo_print_remaining_args)
|
set -l args (__fish_sudo_print_remaining_args)
|
||||||
set -lx -a PATH /sbin /usr/sbin
|
set -lx -a PATH /usr/local/sbin /sbin /usr/sbin
|
||||||
complete -C"$args"
|
complete -C"$args"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue