提交 6606a69f 编写于 作者: F Felipe Contreras 提交者: Junio C Hamano

completion: zsh: don't override suffix on _detault

zsh is smart enough to add the right suffix while completing, there's no
point in trying to do the same as bash.
Signed-off-by: NFelipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 9a3e36cd
......@@ -198,7 +198,7 @@ _git ()
emulate ksh -c __${service}_main
fi
let _ret && _default -S '' && _ret=0
let _ret && _default && _ret=0
return _ret
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册