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

29 lines
978 B
Plaintext

#compdef shuf gshuf
local ret=1
local -a context line state state_descr
local -A opt_args
_arguments -s -S : \
'(: -)--help[display help information]' \
'(: -)--version[display version information]' \
'(-n --head-count)'{-n+,--head-count=}'[limit output to specified number of lines]:output line limit' \
'(-o --output)'{-o+,--output=}'[write result to specified file]:output file:_files' \
'--random-source=[use specified file as source of random bytes]: :_files' \
'(-r --repeat)'{-r,--repeat}'[allow output lines to repeat]' \
'(-z --zero-terminated)'{-z,--zero-terminated}'[use NUL as line delimiter]' \
'(-i --input-range)*: :->operands' \
+ '(excl)' \
{-e,--echo}'[treat operands as input lines]' \
'(:)'{-i+,--input-range=}'[treat specified numbers as input lines]:number range (x-y)' \
&& ret=0
[[ $state == operands ]] &&
if [[ -n ${opt_args[(i)excl-(-e|--echo)]} ]]; then
_message 'input line' && ret=0
else
_files && ret=0
fi
return ret