mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #968 from maxnordlund/patch-1
Fix fish subcommand completion
This commit is contained in:
commit
c310bc5f83
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue