mirror of
https://github.com/apisnetworks/pyenv.git
synced 2026-11-30 19:59:01 +00:00
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:
1 parent
2297bd3741
commit
bc6be9ed9f
1 file changed
+1
-1
@@ -14,5 +14,5 @@ _pyenv() {
|
||||
completions="$(pyenv completions ${words[2,-2]})"
|
||||
fi
|
||||
|
||||
reply=("${(ps:\n:)completions}")
|
||||
reply=(${(ps:\n:)completions})
|
||||
}
|
||||
Reference in new issue
Block a user