mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 23:00:51 +00:00
Merge pull request #831 from maxnordlund/patch-1
Fix fish subcommand completion
This commit is contained in:
commit
235eea3003
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue