Skip to content

Commit 7d92da3

Browse files
committed
Merge branch 'fc/zsh-completion'
Hotfix for a recent breakage. * fc/zsh-completion: completion: bash: fix gitk alias regression completion: zsh: fix file completion regression
2 parents 90051e5 + 0764964 commit 7d92da3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ _git_fsck ()
18291829

18301830
_git_gitk ()
18311831
{
1832-
_gitk
1832+
__gitk_main
18331833
}
18341834

18351835
# Lists matching symbol names from a tag (as in ctags) file.

contrib/completion/git-completion.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ __gitcomp_file ()
116116
{
117117
emulate -L zsh
118118

119+
compset -P '*[=:]'
119120
compadd -f -p "${2-}" -- ${(f)1} && _ret=0
120121
}
121122

0 commit comments

Comments
 (0)