diff --git a/share/completions/doas.fish b/share/completions/doas.fish index b711f0a3c..411d67a41 100644 --- a/share/completions/doas.fish +++ b/share/completions/doas.fish @@ -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 diff --git a/share/completions/sudo.fish b/share/completions/sudo.fish index 765db5e30..f092fddce 100644 --- a/share/completions/sudo.fish +++ b/share/completions/sudo.fish @@ -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