Do not quote completions in $reply

With an empty list of completions, zsh would complete a space / advance
the cursor by a space when completing.
This commit is contained in:
Daniel Hahler 2014-09-03 21:01:38 +02:00
parent 2297bd3741
commit bc6be9ed9f

View file

@ -14,5 +14,5 @@ _pyenv() {
completions="$(pyenv completions ${words[2,-2]})"
fi
reply=("${(ps:\n:)completions}")
reply=(${(ps:\n:)completions})
}