From bc6be9ed9f625ea7f8f40e200996a5c0bb461015 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 3 Sep 2014 21:01:38 +0200 Subject: [PATCH] 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. --- completions/pyenv.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completions/pyenv.zsh b/completions/pyenv.zsh index 67dc41db..08a4ceea 100644 --- a/completions/pyenv.zsh +++ b/completions/pyenv.zsh @@ -14,5 +14,5 @@ _pyenv() { completions="$(pyenv completions ${words[2,-2]})" fi - reply=("${(ps:\n:)completions}") + reply=(${(ps:\n:)completions}) }