We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5590fe7 + 52fd972 commit 9e0ec12Copy full SHA for 9e0ec12
contrib/completion/git-completion.bash
@@ -2710,6 +2710,10 @@ _git ()
2710
if [[ -n ${ZSH_VERSION-} ]]; then
2711
emulate -L bash
2712
setopt KSH_TYPESET
2713
+
2714
+ # workaround zsh's bug that leaves 'words' as a special
2715
+ # variable in versions < 4.3.12
2716
+ typeset -h words
2717
fi
2718
2719
local cur words cword
@@ -2761,6 +2765,10 @@ _gitk ()
2761
2765
2762
2766
2763
2767
2768
2769
2770
2771
2764
2772
2773
2774
__git_has_doubledash && return
0 commit comments