fish-shell/share/functions/__fish_complete_subcommand_root.fish

9 lines
243 B
Fish
Raw Normal View History

function __fish_complete_subcommand_root -d "Run the __fish_complete_subcommand function using a PATH containing /sbin and /usr/sbin"
2010-09-18 02:18:26 +00:00
set -l PATH_OLD $PATH
set PATH /sbin /usr/sbin $PATH
__fish_complete_subcommand
set PATH $PATH_OLD
end