Skip to content
Snippets Groups Projects
Commit 5b1b5514 authored by Daniel Shahaf's avatar Daniel Shahaf
Browse files

completion: Return the correct error code from __vcsh_*.

parent 36a7cedf
Branches
No related tags found
Loading
...@@ -138,7 +138,7 @@ function _vcsh () { ...@@ -138,7 +138,7 @@ function _vcsh () {
_dispatch git git _dispatch git git
else else
curcontext="${curcontext%:*:*}:vcsh-${vcshcommand}:" curcontext="${curcontext%:*:*}:vcsh-${vcshcommand}:"
_call_function ret _vcsh-${vcshcommand} _call_function ret _vcsh-${vcshcommand} && (( ret ))
fi fi
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment