git/git-zsh-completion-fixes.diff

17 lines
662 B
Diff

---
contrib/completion/git-completion.zsh | 1 +
1 file changed, 1 insertion(+)
Index: git-2.11.0/contrib/completion/git-completion.zsh
===================================================================
--- git-2.11.0.orig/contrib/completion/git-completion.zsh
+++ git-2.11.0/contrib/completion/git-completion.zsh
@@ -31,6 +31,7 @@ if [ -z "$script" ]; then
local e
locations=(
$(dirname ${funcsourcetrace[1]%:*})/git-completion.bash
+ '/etc/bash_completion.d/git.sh' # suse
'/etc/bash_completion.d/git' # fedora, old debian
'/usr/share/bash-completion/completions/git' # arch, ubuntu, new debian
'/usr/share/bash-completion/git' # gentoo