From a833fe4a18526b76b447e107233541e6e6596968 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sun, 1 Dec 2019 22:59:36 +0100 Subject: unposted: another place to complete selinux contexts that was missed in 44781 --- ChangeLog | 3 +++ Completion/Unix/Command/_killall | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 04bf9c026..c68c8e05c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2019-12-01 Oliver Kiddle + * 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 -- cgit 1.4.1