1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-08 11:33:49 -05:00

Merge pull request #968 from maxnordlund/patch-1

Fix fish subcommand completion
This commit is contained in:
Mislav Marohnić
2017-11-29 15:47:19 +01:00
committed by GitHub

View File

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