1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

unposted: another place to complete selinux contexts that was missed in 44781

This commit is contained in:
Oliver Kiddle 2019-12-01 22:59:36 +01:00
parent 6a3e418fb6
commit a833fe4a18
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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