Files
RedBear-OS/recipes/shells/zsh/source/Completion/Unix/Command/_timeout
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

21 lines
877 B
Plaintext

#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'