diff --git a/completions/pyenv.zsh b/completions/pyenv.zsh index 65cc42fe..67dc41db 100644 --- a/completions/pyenv.zsh +++ b/completions/pyenv.zsh @@ -11,7 +11,7 @@ _pyenv() { if [ "${#words}" -eq 2 ]; then completions="$(pyenv commands)" else - completions="$(pyenv completions "${words[2,-2]}")" + completions="$(pyenv completions ${words[2,-2]})" fi reply=("${(ps:\n:)completions}")