ohmyzsh/plugins/gitfast
Felipe Contreras 66f9fdabc1
gitfast: improve command aliases (#9385)
So that compdefs with dashes work as well as underscores:

  compdef _git gc=git_commit

Or:

  compdef _git gc=git-commit

The official Zsh Git completion uses dashes, and this way people don't
have to change their existing definitions.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2020-10-24 16:33:43 +02:00
..
_git gitfast: improve command aliases (#9385) 2020-10-24 16:33:43 +02:00
git-completion.bash gitfast: update to latest upstream and more (#9382) 2020-10-24 14:12:23 +02:00
git-prompt.sh gitfast: update to latest upstream and more (#9382) 2020-10-24 14:12:23 +02:00
gitfast.plugin.zsh gitfast: update to upstream v2.21 (#7914) 2019-06-07 17:57:46 +02:00
README.md Clean up plugin READMEs and a few plugins 2020-03-11 19:57:46 +01:00
update gitfast: update to latest upstream and more (#9382) 2020-10-24 14:12:23 +02:00

Gitfast plugin

This plugin adds completion for Git, using the zsh completion from git.git folks, which is much faster than the official one from zsh. A lot of zsh-specific features are not supported, like descriptions for every argument, but everything the bash completion has, this one does too (as it is using it behind the scenes). Not only is it faster, it should be more robust, and updated regularly to the latest git upstream version.

To use it, add gitfast to the plugins array in your zshrc file:

plugins=(... gitfast)

Aliases

An earlier version of the plugin also loaded the git plugin. If you want to keep those aliases enable the git plugin as well.