summaryrefslogtreecommitdiff
path: root/Completion/Linux/Command/_chcon
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@fairlystable.org>2025-04-30 02:07:56 -0700
committerJoe Rayhawk <jrayhawk@fairlystable.org>2025-04-30 02:07:56 -0700
commit26e09889646be3ea65b4a3dfeda26213e4bb6a27 (patch)
tree4f3c73a9416bf47ad7e125383d23cf42879e38d7 /Completion/Linux/Command/_chcon
parent841bce705a58b04220b1f257abcc00ae71cbdbdc (diff)
parent001cba48ce3b964cf01fb3e2af54b20eacbc9bf5 (diff)
downloadzsh-26e09889646be3ea65b4a3dfeda26213e4bb6a27.tar.gz
zsh-26e09889646be3ea65b4a3dfeda26213e4bb6a27.zip
Merge branch 'upstream' into debian
Diffstat (limited to 'Completion/Linux/Command/_chcon')
-rw-r--r--Completion/Linux/Command/_chcon24
1 files changed, 0 insertions, 24 deletions
diff --git a/Completion/Linux/Command/_chcon b/Completion/Linux/Command/_chcon
deleted file mode 100644
index 2d523f287..000000000
--- a/Completion/Linux/Command/_chcon
+++ /dev/null
@@ -1,24 +0,0 @@
-#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'