Files
RedBear-OS/recipes/shells/zsh/source/Completion/Linux/Command/_chcon
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
1.4 KiB
Plaintext

#compdef chcon
local ign
(( $#words > 2 )) && ign='!'
_arguments -C -s -S \
'(-h --no-dereference)--dereference[dereference symlinks]' \
'(-h --no-dereference --dereference)'{-h,--no-dereference}'[operate on symlinks themselves]' \
'(1 -u --user -r --role -l --range -t --type)--reference=[copy security context of specified file]:file:_files' \
'(1 --reference -u --user)'{-u+,--user=}'[set user in the target security context]: :_selinux_users' \
'(1 --reference -r --role)'{-r+,--role=}'[set role in the target security context]: :_selinux_roles' \
'(1 --reference -t --type)'{-t+,--type=}'[set type in the target security context]: :_selinux_types' \
'(1 --reference -l --range)'{-l+,--range=}'[set range in the target security context]:selinux range' \
'(--recursive -R)'{--recursive,-R}'[recurse subdirectories]' \
'(-v --verbose)'{-v,--verbose}'[output a diagnostic for every file processed]' \
'(-H -L -P)-H[follow symlinks on the command line]' \
'(-H -L -P)-L[follow all symlinks]' \
"(-H -L -P)-P[don't follow symlinks (default)]" \
'!(--preserve-root)--no-preserve-root' \
"--preserve-root[fail to operate recursively on '/']" \
'(--reference -u --user -r --role -l --range -t --type)1:security context:_selinux_contexts' \
"${ign}--help[display help information]" \
"${ign}--version[display version information]" \
'*:file:_files'