diff options
author | 2012-01-25 01:14:47 +0100 | |
---|---|---|
committer | 2012-01-25 01:14:47 +0100 | |
commit | b0c6d891e967267468ac59befa60e9844be3d949 (patch) | |
tree | d592fcf5748640a94b01635e705f5038534c7d28 /share/functions/__fish_complete_subcommand_root.fish | |
parent | 344b9bdba3a624a6d8b34de799caebdd497fb35f (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.fish | 6 |
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 |