Browse Source

Merge pull request #831 from maxnordlund/patch-1

Fix fish subcommand completion
pull/836/head
Yamashita, Yuu 9 years ago
committed by GitHub
parent
commit
235eea3003
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      completions/pyenv.fish

+ 2
- 1
completions/pyenv.fish 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

Loading…
Cancel
Save