facf0c92e0
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.
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
#compdef dchroot-dsa
|
|
|
|
local expl context state line
|
|
typeset -A opt_args
|
|
local -a _comp_priv_prefix
|
|
|
|
_arguments -S \
|
|
'(-h --help)'{-h,--help}'[help]' \
|
|
'(-a --all)'{-a,--all}'[select all chroots]' \
|
|
'*'{-c,--chroot=}'[use specified chroot]:chroot:->chroot' \
|
|
'(-d --directory)'{-d,--directory=}'[directory to use]:dir:_files -W / -P /' \
|
|
'(-l --list)'{-l,--list}'[list available chroots]' \
|
|
'(-i --info)'{-i,--info}'[show information about selected chroots]' \
|
|
'(-p --listpaths)'{-p,--listpaths}'[print paths to available chroots]' \
|
|
'--config[dump configuration of selected chroots]' \
|
|
'(-q --quiet)'{-q,--quiet}'[quiet]' \
|
|
'(-v --verbose)'{-v,--verbose}'[verbose]' \
|
|
'(-V --version)'{-V,--version}'[version]' \
|
|
'(-):command name: _command_names -e' \
|
|
'*::arguments: _normal' && return 0
|
|
|
|
case "$state" in
|
|
chroot)
|
|
_wanted -C $context chroots expl 'chroot' \
|
|
compadd ${(os:,:)${${${"$(_call_program chroots dchroot -l )"#*: }// /}//[[\]]/,}}
|
|
;;
|
|
esac
|