| Server IP : 217.160.0.64 / Your IP : 216.73.216.182 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : ws67269618 ( 67269618) PHP Version : 8.4.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/proc/self/root/kunden/proc/self/root/usr/share/zsh/functions/Completion/Unix/ |
Upload File : |
#compdef timeout gtimeout
local args
if [[ $service = g* || $OSTYPE != *(freebsd|netbsd|openbsd)* ]]; then
# GNU coreutils or DFly as opposed to Free/Net/OpenBSD implementation
args=(
'(-v --verbose)'{-v,--verbose}'[indicate when signal is sent upon timeout]'
'(- *)--help[display usage information]'
'(- *)--version[display version information]'
)
fi
_arguments -S -A "-" $args \
'--preserve-status[always exit with the same status as command even if it times out]' \
"--foreground[don't propagate timeout to the command children]" \
'(-s --signal)'{-s,--signal}'[specify the signal to send on timeout]:signal:_signals' \
'(-k --kill-after)'{-k,--kill-after}'[followup first signal with SIGKILL if command persists after specified time]:time' \
'1: :_numbers -f -u seconds duration :s:seconds m:minutes h:hours d:days' \
'*:::command:_normal'