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

28 lines
767 B
Plaintext

#compdef basename gbasename
local args variant
_pick_variant -r variant gnu=GNU $OSTYPE --version
case $variant in
gnu)
args=( -s -S -A "-*"
'(2 -a --multiple)'{-a,--multiple}'[support multiple arguments, handling each]'
'(2 -a --multiple -s --suffix)'{-s+,--suffix=}'[remove a trailing suffix]:suffix'
'(-z --zero)'{-z,--zero}'[separate output with NUL rather than newline]'
'(- *)--version[display version information]'
'(- *)--help[display help information]'
)
;;
darwin*|dragonfly*|freebsd*)
args=( -s -S -A "-*"
'(2)-a[support multiple arguments, handling each]'
'(-a 2)-s+[remove a trailing suffix]:suffix'
)
;;
esac
_arguments $args \
'1:file:_files' \
'(*)2:suffix' \
'*:file:_files'