Skip to content

Commit 4c3bddb

Browse files
committed
Merge branch 'ti/tcsh-completion-regression-fix'
Update to the command line completion (in contrib/) for tcsh. * ti/tcsh-completion-regression-fix: completion: tcsh: Fix regression by drop of wrapper functions
2 parents 77b063c + ff7b83f commit 4c3bddb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contrib/completion/git-completion.tcsh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ else
8080
COMP_CWORD=\$((\${#COMP_WORDS[@]}-1))
8181
fi
8282
83-
# Call _git() or _gitk() of the bash script, based on the first argument
84-
_\${1}
83+
# Call __git_wrap__git_main() or __git_wrap__gitk_main() of the bash script,
84+
# based on the first argument
85+
__git_wrap__\${1}_main
8586
8687
IFS=\$'\n'
8788
if [ \${#COMPREPLY[*]} -eq 0 ]; then

0 commit comments

Comments
 (0)