summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2019-12-01 22:59:36 +0100
committerOliver Kiddle <okiddle@yahoo.co.uk>2019-12-01 22:59:36 +0100
commita833fe4a18526b76b447e107233541e6e6596968 (patch)
treec83a5d4054d7b822c966af7c23060fa470f8fe2d
parent6a3e418fb6d17fd6beb2af37c41f7df5312c0bb3 (diff)
downloadzsh-a833fe4a18526b76b447e107233541e6e6596968.tar.gz
zsh-a833fe4a18526b76b447e107233541e6e6596968.tar.xz
zsh-a833fe4a18526b76b447e107233541e6e6596968.zip
unposted: another place to complete selinux contexts that was missed in 44781
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_killall2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 04bf9c026..c68c8e05c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2019-12-01  Oliver Kiddle  <okiddle@yahoo.co.uk>
 
+	* unposted: Completion/Unix/Command/_killall: another place
+	to complete selinux contexts that was missed in 44781
+
 	* 44968: Completion/Unix/Command/_objdump,
 	Completion/Unix/Command/_readelf: cleanup and update objdump
 	and readelf completions
diff --git a/Completion/Unix/Command/_killall b/Completion/Unix/Command/_killall
index 6fdb0f277..36accb2e0 100644
--- a/Completion/Unix/Command/_killall
+++ b/Completion/Unix/Command/_killall
@@ -32,7 +32,7 @@ if _pick_variant psmisc=PSmisc unix --version; then
     "*: :_process_names $opts"
   )
   [[ $CURRENT = 2 || ( $CURRENT = 3 && $words[2] = (-Z|--context) ) ]] && \
-    args+=( '(-Z --context)'{-Z+,--context=}'[specify SELinux security context]:regex pattern: ' )
+    args+=( '(-Z --context)'{-Z+,--context=}'[specify SELinux security context]:regex pattern:_selinux_contexts' )
 
   _arguments -s -S -C : $args && ret=0