Files
RedBear-OS/recipes/shells/zsh/source/Completion/Unix/Command/_fold
T
vasilito ff4ff35918 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

25 lines
713 B
Plaintext

#compdef fold gfold
local variant
local -a args
_pick_variant -r variant busybox=BusyBox gnu='Free Soft' unix --version
args=(
'(-b --bytes)'{-b,--bytes}'[count bytes rather than columns]'
'(: -)--help[display help information]'
'(-s --spaces)'{-s,--spaces}'[fold on whitespace]'
'(-w --width)'{-w+,--width=}'[specify line width]:line width (columns or bytes)'
'(: -)--version[display version information]'
'*: :_files'
)
# Non-GNU variants don't support long options (except BusyBox's --help)
if [[ $variant == *busybox* ]]; then # See also: _busybox
args=( ${args:#((#s)|*\))(\*|)--^help*} )
elif [[ $variant != gnu ]]; then
args=( ${args:#((#s)|*\))(\*|)--*} )
fi
_arguments -s -S : $args