Files
vasilito facf0c92e0 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

52 lines
1.9 KiB
Plaintext

#compdef vim-addons
local context state line expl ret=1
typeset -A opt_args
_arguments \
'(-q --query)'{-q,--query}'[be quiet and make the output more parseable]' \
'(-r --registry-dir)'{-r,--registry-dir}'[set the registry directory]' \
'(-s --source-dir)'{-s,--source-dir}'[set addon source directory]' \
'(-t --target-dir -w --system-wide)'{-t,--target-dir}'[set addon target directory]' \
'(-v --verbose -z --silent)'{-v,--verbose}'[increase verbosity]' \
'(y --system-dir)'{-y,--system-dir}'[set system-wide target directory]' \
'(-)'{-h,--help}'[show help information]' \
'(-w --system-wide -t --target-dir)'{-w,--system-wide}'[use system-wide target directory]' \
'(-z --silent -v --verbose)'{-z,--silent}'[suppress most output]' \
'1:commands:((
install\:install\ specified\ addons
remove\:remove\ specified\ addons
list\:list\ available\ addons\ in\ registry
status\:list\ status\ of\ addons
disable\:disable\ specified\ addons
enable\:undo\ effects\ of\ previous\ disable
files\:list\ files\ composing\ the\ specified\ addon
show\:display\ detailed\ information\ on\ specified\ addon
))' \
'*: :->args' && ret=0
case $state in
args)
case $line[1] in
install)
_wanted -C $context addons expl 'addon' compadd - \
${${(M)${(f)"$(_call_program addons vim-addons -q)"}:#*removed}%$'\t'*} && ret=0
;;
enable)
_wanted -C $context addons expl 'addon' compadd - \
${${(M)${(f)"$(_call_program addons vim-addons -q)"}:#*disabled}%$'\t'*} && ret=0
;;
remove)
_wanted -C $context addons expl 'addon' compadd - \
${${(M)${(f)"$(_call_program addons vim-addons -q)"}:#*(disabled|installed)}%$'\t'*} && ret=0
;;
*)
_wanted -C $context addons expl 'addon' compadd - \
$(_call_program addons vim-addons list) && ret=0
;;
esac
;;
esac
return ret