aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_complete_subcommand_root.fish
diff options
context:
space:
mode:
authorGravatar Jan Kanis <jan.code@jankanis.nl>2012-01-25 01:14:47 +0100
committerGravatar Jan Kanis <jan.code@jankanis.nl>2012-01-25 01:14:47 +0100
commitb0c6d891e967267468ac59befa60e9844be3d949 (patch)
treed592fcf5748640a94b01635e705f5038534c7d28 /share/functions/__fish_complete_subcommand_root.fish
parent344b9bdba3a624a6d8b34de799caebdd497fb35f (diff)
reviewed merge reqest 14:
* fixed some whitespace inconsistencies * changed variable handling in __fish_complete_subcommand_root
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