Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mm/mv-file-to-no-such-dir-with-slash'
[gitweb.git]
/
contrib
/
completion
/
git-completion.zsh
diff --git
a/contrib/completion/git-completion.zsh
b/contrib/completion/git-completion.zsh
index 6fca145c06d49ac9a4a23aac3cf1ec6e8ec2eef8..6b779685722916f8032dce9b3b46220eb6a19414 100644
(file)
--- a/
contrib/completion/git-completion.zsh
+++ b/
contrib/completion/git-completion.zsh
@@
-76,6
+76,14
@@
__gitcomp_nl ()
compadd -Q -S "${4- }" -p "${2-}" -- ${=1} && _ret=0
}
+__gitcomp_nl_append ()
+{
+ emulate -L zsh
+
+ local IFS=$'\n'
+ compadd -Q -S "${4- }" -p "${2-}" -- ${=1} && _ret=0
+}
+
__gitcomp_file ()
{
emulate -L zsh