Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
merge-recursive: fix miscellaneous grammar error in comment
[gitweb.git]
/
contrib
/
completion
/
git-completion.zsh
diff --git
a/contrib/completion/git-completion.zsh
b/contrib/completion/git-completion.zsh
index c3521fbfc44fd8db18244bc10d346ee39b1c3c90..53cb0f934f8ba0b468145fe06480f9c99f860996 100644
(file)
--- a/
contrib/completion/git-completion.zsh
+++ b/
contrib/completion/git-completion.zsh
@@
-93,6
+93,15
@@
__gitcomp_nl_append ()
compadd -Q -S "${4- }" -p "${2-}" -- ${=1} && _ret=0
}
+__gitcomp_file_direct ()
+{
+ emulate -L zsh
+
+ local IFS=$'\n'
+ compset -P '*[=:]'
+ compadd -Q -f -- ${=1} && _ret=0
+}
+
__gitcomp_file ()
{
emulate -L zsh