From f21d826850fcca89c5bb8addc7597db221f85f2d Mon Sep 17 00:00:00 2001 From: David Adam Date: Wed, 21 Oct 2015 15:35:05 +0800 Subject: [PATCH] fish_complete_subcommand: shadow scope to inherit e.g. $PATH Closes: #2141. --- share/functions/__fish_complete_subcommand.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_complete_subcommand.fish b/share/functions/__fish_complete_subcommand.fish index ace0db2d5..203deb053 100644 --- a/share/functions/__fish_complete_subcommand.fish +++ b/share/functions/__fish_complete_subcommand.fish @@ -1,4 +1,4 @@ -function __fish_complete_subcommand -d "Complete subcommand" +function __fish_complete_subcommand -d "Complete subcommand" --no-scope-shadowing set -l skip_next 1 set -l test switch "$argv[1]"