mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +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
|
||||
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"
|
||||
end
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ end
|
|||
|
||||
function __fish_complete_sudo_subcommand
|
||||
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"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue