diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2019-06-08 09:33:56 -0500 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2019-06-08 16:33:56 +0200 |
commit | d69bad8eb4157e5fd5c1a4ce98f93cf522477a8c (patch) | |
tree | 1df2deb653e2b6fd349836fb31d152d5002ee3e1 /plugins/gitfast/_git | |
parent | 65f34ce80ed0aabe92ad3815ceb79db45004598b (diff) | |
download | zsh-d69bad8eb4157e5fd5c1a4ce98f93cf522477a8c.tar.gz zsh-d69bad8eb4157e5fd5c1a4ce98f93cf522477a8c.tar.bz2 zsh-d69bad8eb4157e5fd5c1a4ce98f93cf522477a8c.zip |
gitfast: downgrade to upstream v2.16 (#7918)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'plugins/gitfast/_git')
-rw-r--r-- | plugins/gitfast/_git | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/plugins/gitfast/_git b/plugins/gitfast/_git index c003a6771..78a6dbb3d 100644 --- a/plugins/gitfast/_git +++ b/plugins/gitfast/_git @@ -39,7 +39,7 @@ if [ -z "$script" ]; then test -f $e && script="$e" && break done fi -GIT_SOURCING_ZSH_COMPLETION=y . "$script" +ZSH_VERSION='' . "$script" __gitcomp () { @@ -93,22 +93,13 @@ __gitcomp_nl_append () compadd -Q -S "${4- }" -p "${2-}" -- ${=1} && _ret=0 } -__gitcomp_file_direct () -{ - emulate -L zsh - - local IFS=$'\n' - compset -P '*[=:]' - compadd -f -- ${=1} && _ret=0 -} - __gitcomp_file () { emulate -L zsh local IFS=$'\n' compset -P '*[=:]' - compadd -p "${2-}" -f -- ${=1} && _ret=0 + compadd -Q -p "${2-}" -f -- ${=1} && _ret=0 } __git_zsh_bash_func () |