Rename gb completion file to more conventional _gb

This commit is contained in:
Marc Cornellà 2016-07-03 23:27:33 +02:00
parent a29f8f7659
commit cab6359173

View File

@ -1,3 +1,6 @@
#compdef gb
#autoload
_gb () { _gb () {
local ret=1 state local ret=1 state
_arguments -C ':command:->command' '*::options:->options' && ret=0 _arguments -C ':command:->command' '*::options:->options' && ret=0
@ -56,8 +59,6 @@ _gb () {
return ret return ret
} }
compdef _gb gb
_gb-vendor () { _gb-vendor () {
local curcontext="$curcontext" state line local curcontext="$curcontext" state line
_arguments -C ':command:->command' '*::options:->options' _arguments -C ':command:->command' '*::options:->options'
@ -106,3 +107,5 @@ _gb-vendor () {
;; ;;
esac esac
} }
_gb