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