diff --git a/_vcsh b/_vcsh index 2367fb44c9f513741ae9776fc62f3c3e0bf952e2..926dbc50bd11108da3bcd4f3354d8071eb80d02e 100644 --- a/_vcsh +++ b/_vcsh @@ -114,8 +114,7 @@ function _vcsh () { if ! (( ${+functions[_vcsh-$vcshcommand]} )); then # There is no handler function, so this is probably the name # of a repository. Act accordingly. - _message "git sub-command" - #TODO and now we need to complete on git subcommands + _dispatch git git else curcontext="${curcontext%:*:*}:vcsh-${vcshcommand}:" _call_function ret _vcsh-${vcshcommand}