fish_complete_subcommand: shadow scope to inherit e.g. $PATH

Closes: #2141.
This commit is contained in:
David Adam 2015-10-21 15:35:05 +08:00
parent 8e3e286577
commit f21d826850

View File

@ -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]"