| Server IP : 217.160.0.244 / Your IP : 216.73.217.138 Web Server : Apache System : Linux infong-eu155 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64 User : u100174116 ( 6746176) PHP Version : 8.5.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/zsh/functions/Completion/Zsh/ |
Upload File : |
#compdef kill
local curcontext="$curcontext" line state ret=1
typeset -A opt_args
_arguments -C \
'(-s -l 1)-n[specify signal number]:signal number' \
'(-n -l 1)-s[specify signal name]:signal:_signals -s' \
'(-n -s)-l[list signal names or numbers of specified signals]:*:signal:_signals' \
'(-n -s -l)1::signal:_signals -p -s' \
'*:processes:->processes' && ret=0
if [[ -n "$state" ]]; then
local pgrp='process-groups:: _wanted '
[[ -n "$opt_args[(i)-[ns]]${${(@)line:#--}}" && -prefix - ]] && pgrp+='-x '
pgrp+="process-groups expl 'process-group' compadd - 0"
_alternative \
'processes:: _pids' \
'jobs:: _jobs -t' $pgrp && ret=0
fi
return ret