diff options
author | Marc Cornellà <marc.cornella@live.com> | 2019-04-08 20:06:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-08 20:06:17 +0200 |
commit | 8c95c2b6cb339379dda5e39a0eef795cab1dae7a (patch) | |
tree | 98687240a807e0a2549fe4c42a2533c19bd0cf16 /plugins/gitfast/_git | |
parent | 728c8e717435b31cb7db90168e1e7bd27b95e3f5 (diff) | |
download | zsh-8c95c2b6cb339379dda5e39a0eef795cab1dae7a.tar.gz zsh-8c95c2b6cb339379dda5e39a0eef795cab1dae7a.tar.bz2 zsh-8c95c2b6cb339379dda5e39a0eef795cab1dae7a.zip |
gitfast: update plugin (#7152)
* Stop loading git plugin
* Update completion and git-prompt to v2.10
* Update completion to v2.14
Diffstat (limited to 'plugins/gitfast/_git')
-rw-r--r-- | plugins/gitfast/_git | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/gitfast/_git b/plugins/gitfast/_git index 6d1b4ecc7..78a6dbb3d 100644 --- a/plugins/gitfast/_git +++ b/plugins/gitfast/_git @@ -9,7 +9,7 @@ # # If your script is somewhere else, you can configure it on your ~/.zshrc: # -# zstyle ':completion:*:*:git:*' script ~/.git-completion.sh +# zstyle ':completion:*:*:git:*' script ~/.git-completion.zsh # # The recommended way to install this script is to copy to '~/.zsh/_git', and # then add the following to your ~/.zshrc file: @@ -67,6 +67,15 @@ __gitcomp () esac } +__gitcomp_direct () +{ + emulate -L zsh + + local IFS=$'\n' + compset -P '*[=:]' + compadd -Q -- ${=1} && _ret=0 +} + __gitcomp_nl () { emulate -L zsh |