diff options
author | Robby Russell <robby@planetargon.com> | 2013-04-23 19:46:54 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-04-23 19:46:54 -0700 |
commit | 91cb7955cb30797f6b18111aad61d7e8ba80a46a (patch) | |
tree | 5072b9dfb2c819619ec3772a09b29e1079b2e7ea /plugins/gitfast/_git | |
parent | e953fcf5167cc249ac9d818befc956437727a96e (diff) | |
parent | c944f8b465e6c28f9a42ac6d71c90ddf9a5b5742 (diff) | |
download | zsh-91cb7955cb30797f6b18111aad61d7e8ba80a46a.tar.gz zsh-91cb7955cb30797f6b18111aad61d7e8ba80a46a.tar.bz2 zsh-91cb7955cb30797f6b18111aad61d7e8ba80a46a.zip |
Merge pull request #1739 from felipec/fc/gitfast
Updates to gifast
Diffstat (limited to 'plugins/gitfast/_git')
-rw-r--r-- | plugins/gitfast/_git | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/gitfast/_git b/plugins/gitfast/_git index 45775021f..cf8116d47 100644 --- a/plugins/gitfast/_git +++ b/plugins/gitfast/_git @@ -60,6 +60,15 @@ __gitcomp_nl () compadd -Q -S "${4- }" -p "${2-}" -- ${=1} && _ret=0 } +__gitcomp_file () +{ + emulate -L zsh + + local IFS=$'\n' + compset -P '*[=:]' + compadd -Q -p "${2-}" -f -- ${=1} && _ret=0 +} + _git () { local _ret=1 |