|
|
|
@ -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 |