Add /usr/local/sbin to PATH for sudo completions

[ci skip]
This commit is contained in:
Johannes Altmanninger 2019-11-01 17:20:09 +01:00
parent e0d4a1d78b
commit dfc1d1931d
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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