1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 19:05:56 +08:00
ohmyzsh/plugins/gitfast
Marc Cornellà f9e133b88a
gitfast: fix error in git-prompt.sh (#8132)
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.
2019-09-08 20:29:43 +02:00
..
_git gitfast: update completions (#8130) 2019-09-08 16:16:00 +02:00
git-completion.bash gitfast: update completions (#8130) 2019-09-08 16:16:00 +02:00
git-prompt.sh Unquote yes in conditional expressions for style consistency 2019-09-08 20:28:59 +02:00
gitfast.plugin.zsh gitfast: update to upstream v2.21 (#7914) 2019-06-07 17:57:46 +02:00
README.md gitfast: document deprecated git plugin dependency 2019-04-09 11:28:35 +02:00
update gitfast: downgrade to upstream v2.16 (#7918) 2019-06-08 16:33:56 +02:00
updates.patch gitfast: update to upstream v2.21 (#7914) 2019-06-07 17:57:46 +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.