From d8b4fecc8ee4a725eb10d200f3aea92f0bc3a915 Mon Sep 17 00:00:00 2001 From: a-sk Date: Thu, 4 Jul 2013 08:01:44 +0400 Subject: [PATCH 1/1] Complete on git subcommands --- _vcsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_vcsh b/_vcsh index 2367fb4..926dbc5 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} -- 2.39.5