Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Not everyone seems to think Bash’s Git completion is better than Zsh’s



Hi,

> Here’s a presentation that compares Zsh’s Git completion with Bash’s and (for
> once?) we come out on top.
>
> http://www.slideshare.net/jaguardesignstudio/why-zsh-is-cooler-than-your-shell-16194692

Of course you come up on top, because the guy isn't even testing git's
completion.

He says you can install the bash-completion package to get the
completions, but he is wrong; git completions work without
bash-completion, and many distributions ship them that way so users
get them automatically when installing git.

http://felipec.org/git-bash-shot.png

Moreover:

* no cycling through options with repeated tabs?
* breaks to new prompt line on each tab instead of updating in-place?

bind '"\t":menu-complete'

Also, he has no idea of git's zsh completion:

http://felipec.org/git-zsh-shot.png

So of course he didn't do a fair comparison; he compared no completion
to zsh-zsh's completion. And then git-bash's completion, but never
compared git-zsh's completion.

-- 
Felipe Contreras



Messages sorted by: Reverse Date, Date, Thread, Author