cab6359173fb99c832617a5aa24ec734586ff055
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
Rename gb completion file to more conventional _gb
Diff
1diff --git a/plugins/getgb/getgb.plugin.zsh b/plugins/getgb/_gb
2rename from plugins/getgb/getgb.plugin.zsh
3rename to plugins/getgb/_gb
4index 726f0a24fed6993574189dfad82cb6717f4ff2e1..8148adf1604032dd19bf2a64f83c9065f5296259 100644
5--- a/plugins/getgb/getgb.plugin.zsh
6+++ b/plugins/getgb/_gb
7@@ -1,3 +1,6 @@
8+#compdef gb
9+#autoload
10+
11 _gb () {
12 local ret=1 state
13 _arguments -C ':command:->command' '*::options:->options' && ret=0
14@@ -56,8 +59,6 @@ _gb () {
15 return ret
16 }
17
18-compdef _gb gb
19-
20 _gb-vendor () {
21 local curcontext="$curcontext" state line
22 _arguments -C ':command:->command' '*::options:->options'
23@@ -106,3 +107,5 @@ _gb-vendor () {
24 ;;
25 esac
26 }
27+
28+_gb