diff options
author | Oliver Kiddle <opk@zsh.org> | 2024-02-28 00:21:11 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2024-02-28 00:21:11 +0100 |
commit | 5331ff11c64d9d292f4fe817723af6e0a067fa1f (patch) | |
tree | 367ea996dca3e15adc65bc5c4077726f56b08482 /Completion | |
parent | b68002d927b1577bbed453d7bbbe39b55acf7bd0 (diff) | |
download | zsh-5331ff11c64d9d292f4fe817723af6e0a067fa1f.tar.gz zsh-5331ff11c64d9d292f4fe817723af6e0a067fa1f.tar.xz zsh-5331ff11c64d9d292f4fe817723af6e0a067fa1f.zip |
52594: support for POSIX real-time signals with kill and trap
Also add new -L option to kill for a more verbose listing of signals
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Zsh/Command/_kill | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Completion/Zsh/Command/_kill b/Completion/Zsh/Command/_kill index 084cf42c8..3b5c02151 100644 --- a/Completion/Zsh/Command/_kill +++ b/Completion/Zsh/Command/_kill @@ -4,10 +4,11 @@ local curcontext="$curcontext" line state ret=1 typeset -A opt_args _arguments -C \ - '(-s -l 1)-n[specify signal number]:signal number' \ - '(-l)-q[send the specified integer with the signal using sigqueue]:value' \ - '(-n -l 1)-s[specify signal name]:signal:_signals -s' \ - '(-n -s)-l[list signal names or numbers of specified signals]:*:signal:_signals' \ + '(-s -l -L 1)-n[specify signal number]:signal number' \ + '(-l -L)-q[send the specified integer with the signal using sigqueue]:value' \ + '(-n -l -L 1)-s[specify signal name]:signal:_signals -s' \ + '-l[list signal names or numbers of specified signals]:*:signal:_signals' \ + '(- *)-L[list each signal and corresponding number]' \ '(-n -s -l)1::signal:_signals -p -s' \ '*:processes:->processes' && ret=0 |