about summary refs log tree commit diff
path: root/Completion/Unix/Command/_cp
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2019-09-27 00:27:45 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2019-09-27 00:27:45 +0200
commit4f48ce208b89b0790f113642aab200a65abf7816 (patch)
tree077ab574515a61bc05c3e7f38a7493678f52a1f3 /Completion/Unix/Command/_cp
parent81be5d1dceae907052858d3c2140a109d5c3f553 (diff)
downloadzsh-4f48ce208b89b0790f113642aab200a65abf7816.tar.gz
zsh-4f48ce208b89b0790f113642aab200a65abf7816.tar.xz
zsh-4f48ce208b89b0790f113642aab200a65abf7816.zip
44781: add completion of SELinux contexts
Diffstat (limited to 'Completion/Unix/Command/_cp')
-rw-r--r--Completion/Unix/Command/_cp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_cp b/Completion/Unix/Command/_cp
index ae448213a..f7411055b 100644
--- a/Completion/Unix/Command/_cp
+++ b/Completion/Unix/Command/_cp
@@ -32,7 +32,7 @@ if _pick_variant gnu=GNU unix --version; then
     '(-v --verbose)'{-v,--verbose}'[explain what is being done]' \
     '(-x --one-file-system)'{-x,--one-file-system}'[stay on this file system]' \
     '(--context)-Z[set destination SELinux security context]' \
-    '(-Z)--context=-[set destination SELinux security context]::context' \
+    '(-Z)--context=-[set destination SELinux security context]:: :_selinux_contexts' \
     '(- *)--help' '(- *)--version' \
     '*:file or directory:_files'
 else