Merge pull request #831 from maxnordlund/patch-1

Fix fish subcommand completion
This commit is contained in:
Yamashita, Yuu 2017-02-10 17:24:11 +09:00 committed by GitHub
commit 235eea3003

View file

@ -18,5 +18,6 @@ end
complete -f -c pyenv -n '__fish_pyenv_needs_command' -a '(pyenv commands)'
for cmd in (pyenv commands)
complete -f -c pyenv -n "__fish_pyenv_using_command $cmd" -a "(pyenv completions $cmd)"
complete -f -c pyenv -n "__fish_pyenv_using_command $cmd" -a \
"(pyenv completions (commandline -opc)[2..-1])"
end