Skip to content
Snippets Groups Projects
Commit d8b4fecc authored by Alexander Skurikhin's avatar Alexander Skurikhin
Browse files

Complete on git subcommands

parent 45fc3eb1
No related branches found
No related tags found
No related merge requests found
...@@ -114,8 +114,7 @@ function _vcsh () { ...@@ -114,8 +114,7 @@ function _vcsh () {
if ! (( ${+functions[_vcsh-$vcshcommand]} )); then if ! (( ${+functions[_vcsh-$vcshcommand]} )); then
# There is no handler function, so this is probably the name # There is no handler function, so this is probably the name
# of a repository. Act accordingly. # of a repository. Act accordingly.
_message "git sub-command" _dispatch git git
#TODO and now we need to complete on git subcommands
else else
curcontext="${curcontext%:*:*}:vcsh-${vcshcommand}:" curcontext="${curcontext%:*:*}:vcsh-${vcshcommand}:"
_call_function ret _vcsh-${vcshcommand} _call_function ret _vcsh-${vcshcommand}
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment