Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
alloc: make allocate_alloc_state and clear_alloc_state more consistent
[gitweb.git]
/
contrib
/
completion
/
git-completion.zsh
diff --git
a/contrib/completion/git-completion.zsh
b/contrib/completion/git-completion.zsh
index 78808b1c5e98a0b8f0970a6b0f8a2bddf9519d48..049d6b80f650717f20e68568251c21098f598d80 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