summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-10-09 21:54:09 +0000
committerClint Adams <clint@users.sourceforge.net>2008-10-09 21:54:09 +0000
commitca3182ad3dd0b616c31abd035dd0209b7528a2f5 (patch)
tree470f11b865ae7da5960dd6a7b94a0c7b3964bbc2 /Completion/Unix
parentad3e2aa2157bc779b596d95987a80b28cf6928b9 (diff)
downloadzsh-ca3182ad3dd0b616c31abd035dd0209b7528a2f5.tar.gz
zsh-ca3182ad3dd0b616c31abd035dd0209b7528a2f5.tar.xz
zsh-ca3182ad3dd0b616c31abd035dd0209b7528a2f5.zip
Jörg Sommer: 25824: make it possible to use abbreviated paths for tree files.
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_git2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index f3196b895..366cc5d97 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -2811,7 +2811,7 @@ __git_tree_files () {
   fi
 
   local expl
-  _wanted files expl 'tree file' compadd $multi_parts_opts -f -a tree_files
+  _wanted files expl 'tree file' _multi_parts -f $@ -- / tree_files
 }
 
 # TODO: deal with things that __git_heads and __git_tags has in common (i.e.,