diff --git a/share/completions/git.fish b/share/completions/git.fish index 4d1b33e4a..68bf3c0e5 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -2185,9 +2185,6 @@ for file in $PATH/git-* contains -- $subcommand $__fish_git_custom_commands_completion and continue - complete -C "git-$subcommand " >/dev/null - if test (complete -c git-$subcommand | count) -gt 0 - complete -c git -f -n "__fish_git_using_command $subcommand" -a "(__fish_git_complete_custom_command $subcommand)" - end + complete -c git -f -n "__fish_git_using_command $subcommand" -a "(__fish_git_complete_custom_command $subcommand)" set -a __fish_git_custom_commands_completion $subcommand end