From 6b9ff9cbeade3544a4b619bdeea2dc54d5b66e33 Mon Sep 17 00:00:00 2001 From: Brice Dutheil Date: Mon, 29 Jul 2019 15:24:50 +0200 Subject: [PATCH] Fixes #193 ZSH completion do not add the space anymore The trick is done by configuring compctl to suffix the completion with nothing (`-S ""`). http://zsh.sourceforge.net/Doc/Release/Completion-Using-compctl.html#Control-Flags --- completions/jenv.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completions/jenv.zsh b/completions/jenv.zsh index 5292467..927b43c 100644 --- a/completions/jenv.zsh +++ b/completions/jenv.zsh @@ -2,7 +2,7 @@ if [[ ! -o interactive ]]; then return fi -compctl -K _jenv jenv +compctl -S "" -K _jenv jenv _jenv() { local words completions