mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 14:53:11 +00:00
46bd0e66b6
Reverts some changes that broke sudo completions, and adds comments clarifying the purpose behind sudo completions. Closes #5004.
4 lines
223 B
Fish
4 lines
223 B
Fish
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
|