From: Felipe Contreras Date: Mon, 26 Apr 2021 16:14:32 GMT Subject: [PATCH v1 17/43] completion: zsh: fix extra space on foo= Message-ID: <20210426161458.49860-18-felipe.contreras@gmail.com> In-Reply-To: <20210426161458.49860-1-felipe.contreras@gmail.com> Upstream commit e1e00089da fixed the issue for Bash, but not for Zsh. When we are typing configurations an = at the end signifies we still want to type the value. Can be tested with: git -c log.d Signed-off-by: Felipe Contreras --- contrib/completion/git-completion.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh index 6232d0a823..073f7d91d8 100644 --- a/contrib/completion/git-completion.zsh +++ b/contrib/completion/git-completion.zsh @@ -86,7 +86,7 @@ __gitcomp () fi c="$c${4-}" case $c in - --*=|*.) ;; + *=|*.) ;; *) c="$c " ;; esac array+=("$c") -- 2.31.0