f9e133b88a
An error was thrown (`bash: [: =: unary operator expected`) when using the __git_ps1_colorize_gitstring function outside of the one place it's called (line 512), because the "detached" variable was not quoted, and was unset. |
||
---|---|---|
.. | ||
_git | ||
git-completion.bash | ||
git-prompt.sh | ||
gitfast.plugin.zsh | ||
README.md | ||
update | ||
updates.patch |
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.