Files
RedBear-OS/recipes/shells/zsh/source/Completion/Zsh/Command/_zcompile
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

30 lines
927 B
Plaintext

#compdef zcompile
local state line expl curcontext="$curcontext" ret=1
typeset -A opt_args
_arguments -C -s \
"(-t -c -m -a)-U[don't expand aliases]" \
'(-t -M)-R[mark as read]' \
'(-t -R)-M[mark as mapped]' \
'(-t -c -m -a)*-k[ksh-style autoloading]' \
'(-t -c -m -a)*-z[zsh-style autoloading]' \
'(-t -U -z -k)-c[currently defined functions]' \
'(-t -U -z -k)-m[use names as patterns]' \
'(-t -U -z -k)-a[write autoload functions]' \
'(-M -R -U -z -k -a -c -m)-t[show table of contents]' \
'(-M -R -U -a -c -m -t):file:->file' \
'*:function:->function' && ret=0
if [[ $state = function && -n $opt_args[(i)-[ac]] ]]; then
_wanted functions expl 'function to write' compadd -k functions && ret=0
elif [[ -n $opt_args[(i)-[tca]] ]]; then
_description files expl 'zwc file'
_files -g '*.zwc(-.)' "$expl[@]" && ret=0
else
_description files expl 'file'
_files "$expl[@]" && ret=0
fi
return ret