aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_complete_subcommand_root.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/functions/__fish_complete_subcommand_root.fish')
-rw-r--r--share/functions/__fish_complete_subcommand_root.fish6
1 files changed, 1 insertions, 5 deletions
diff --git a/share/functions/__fish_complete_subcommand_root.fish b/share/functions/__fish_complete_subcommand_root.fish
index 8a753709..f4df8d9d 100644
--- a/share/functions/__fish_complete_subcommand_root.fish
+++ b/share/functions/__fish_complete_subcommand_root.fish
@@ -1,10 +1,6 @@
function __fish_complete_subcommand_root -d "Run the __fish_complete_subcommand function using a PATH containing /sbin and /usr/sbin"
- set -l PATH_OLD $PATH
- set PATH /sbin /usr/sbin $PATH
+ set -lx PATH /sbin /usr/sbin $PATH
__fish_complete_subcommand $argv
- set PATH $PATH_OLD
-
-
end