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

32 lines
2.0 KiB
Plaintext

#compdef cygcheck cygcheck.exe
# cygwin 1.5.25
local curcontext="$curcontext" state line expl
typeset -A opt_args
local -a exclusive_opts
exclusive_opts=(-k --keycheck -f --find-package -l --list-package -p --package-query -h --help -V --version)
_arguments -C -s -S \
"(* $exclusive_opts -c --check-setup)"{-c,--check-setup}'[show installed version of the specified package and verify integrity (or for all installed packages if none specified)]:*:package:->package' \
"(* $exclusive_opts -d --dump-only)"{-d,--dump-only}'[just list packages, do not verify (with -c)]' \
"(* $exclusive_opts -s --sysinfo)"{-s,--sysinfo}'[produce diagnostic system information (implies -c -d)]' \
"(* $exclusive_opts -r --registry)"{-r,--registry}'[also scan registry for Cygwin settings (with -s)]' \
'(* -)'{-k,--keycheck}'[perform a keyboard check session (must be run from a plain console only, not from a pty/rxvt/xterm)]' \
'(* -)'{-f,--find-package}'[find the package that specified file belongs to]:*:file:_files' \
'(* -)'{-l,--list-package}'[list contents of the specified package (or all packages if none given)]:*:package:->package' \
'(* -)'{-p,--package-query}'[search for the specified regexp in the entire cygwin.com package repository (requires internet connectivity)]:regexp:' \
'(-V --version -k --keycheck -f --find-package -l --list-package -p --package-query -c --check-setup -d --dump-only -v --verbose)'{-v,--verbose}'[produce more verbose output]' \
'(-V --version -k --keycheck -f --find-package -l --list-package -p --package-query -c --check-setup -d --dump-only -h --help)'{-h,--help}'[annotate output with explanatory comments when given with another command, otherwise print this help]' \
'(* -)'{-V,--version}'[print the version of cygcheck and exit]' \
'(-)*:program: _command_names -e' && return
if [[ "$state" = package ]]; then
local -a packages
packages=( ${${${(f)"$(_call_program packages $words[1] -c -d)"}[3,-1]}%% *} )
_wanted packages expl package compadd -a packages && return
fi
return 1