ff4ff35918
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.
33 lines
606 B
Plaintext
33 lines
606 B
Plaintext
#compdef rmdir grmdir zf_rmdir
|
|
|
|
local variant
|
|
local -a args aopts=( -A '-*' )
|
|
|
|
args=(
|
|
'(-p --parents)'{-p,--parents}'[remove each component of the specified paths]'
|
|
)
|
|
|
|
_pick_variant -r variant -b zsh gnu=GNU $OSTYPE --version
|
|
case $variant; in
|
|
gnu)
|
|
aopts=()
|
|
args+=(
|
|
'--ignore-fail-on-non-empty[ignore failure if directory is non-empty]'
|
|
'(-v --verbose)'{-v,--verbose}'[be verbose]'
|
|
)
|
|
;;
|
|
zsh)
|
|
args=()
|
|
;;
|
|
*)
|
|
args=(${args:#*\)--*})
|
|
;|
|
|
dragonfly*|freebsd*)
|
|
args+=('-v[be verbose]')
|
|
;;
|
|
esac
|
|
|
|
_arguments -s -S $aopts \
|
|
$args \
|
|
'*: :_directories'
|