From: Daniel Shahaf Date: Sun, 16 Jul 2017 18:19:28 +0000 (+0000) Subject: completion: Return the correct error code from __vcsh_*. X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/5b1b551418efe890bec37aa79d3d16346d96d0f0?ds=sidebyside;hp=-c completion: Return the correct error code from __vcsh_*. --- 5b1b551418efe890bec37aa79d3d16346d96d0f0 diff --git a/_vcsh b/_vcsh index 3022c61..77ff976 100644 --- a/_vcsh +++ b/_vcsh @@ -138,7 +138,7 @@ function _vcsh () { _dispatch git git else curcontext="${curcontext%:*:*}:vcsh-${vcshcommand}:" - _call_function ret _vcsh-${vcshcommand} + _call_function ret _vcsh-${vcshcommand} && (( ret )) fi fi fi