Roland Hieber <rhi@xxxxxxxxxxxxxx> writes: > +# To add completion for git subcommands that live in external scripts, > +# define a function of the form '_git_${subcommand}' while replacing all dashes > +# with underscores, and the main git completion will make use of it. > +# For example, to add completeion after 'git do-my-stuff' (which could e.g. live > +# in /usr/bin/git-do-stuff), name the completion function '_git_do_stuff'. You have either an extra "-my", or two "-my"s missing, in the above. > +# See _git_show, _git_bisect etc. below for more examples. > +# > # Compatible with bash 3.2.57. > # > # You can set the following environment variables to influence the behavior of