mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-07 07:59:49 +00:00
Rename gb completion file to more conventional _gb
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user