Rename gb completion file to more conventional _gb
This commit is contained in:
parent
a29f8f7659
commit
cab6359173
@ -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
|
Loading…
Reference in New Issue
Block a user