summaryrefslogtreecommitdiff
path: root/plugins/gitfast/_git
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gitfast/_git')
-rw-r--r--plugins/gitfast/_git4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gitfast/_git b/plugins/gitfast/_git
index 7ed3e3c26..6d1b4ecc7 100644
--- a/plugins/gitfast/_git
+++ b/plugins/gitfast/_git
@@ -214,8 +214,10 @@ _git ()
if (( $+functions[__${service}_zsh_main] )); then
__${service}_zsh_main
- else
+ elif (( $+functions[__${service}_main] )); then
emulate ksh -c __${service}_main
+ elif (( $+functions[_${service}] )); then
+ emulate ksh -c _${service}
fi
let _ret && _default && _ret=0