diff options
author | Marc Cornellà <marc.cornella@live.com> | 2016-07-03 23:27:33 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2016-07-04 22:34:38 +0200 |
commit | cab6359173fb99c832617a5aa24ec734586ff055 (patch) | |
tree | ed3588465d82337fb16cce8ba6ea789b1fd14960 /plugins/getgb | |
parent | a29f8f76599e93653f006c2e074bd1dc47cc9b4b (diff) | |
download | zsh-cab6359173fb99c832617a5aa24ec734586ff055.tar.gz zsh-cab6359173fb99c832617a5aa24ec734586ff055.tar.bz2 zsh-cab6359173fb99c832617a5aa24ec734586ff055.zip |
Rename gb completion file to more conventional _gb
Diffstat (limited to 'plugins/getgb')
-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 |