summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/getgb/_gb (renamed from plugins/getgb/getgb.plugin.zsh)7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/getgb/getgb.plugin.zsh b/plugins/getgb/_gb
index 726f0a24f..8148adf16 100644
--- a/plugins/getgb/getgb.plugin.zsh
+++ b/plugins/getgb/_gb
@@ -1,3 +1,6 @@
+#compdef gb
+#autoload
+
_gb () {
local ret=1 state
_arguments -C ':command:->command' '*::options:->options' && ret=0
@@ -56,8 +59,6 @@ _gb () {
return ret
}
-compdef _gb gb
-
_gb-vendor () {
local curcontext="$curcontext" state line
_arguments -C ':command:->command' '*::options:->options'
@@ -106,3 +107,5 @@ _gb-vendor () {
;;
esac
}
+
+_gb