1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-30 07:10:58 +02:00
zsh/Completion/Darwin/Command/_caffeinate

12 lines
395 B
Text

#compdef caffeinate
_arguments -s -S : \
'-d[prevent display sleep]' \
'-i[prevent system idle sleep]' \
'-m[prevent disk idle sleep]' \
'-s[prevent system sleep (AC power only)]' \
'-u[declare that user is active]' \
'(:)-t[specify assertion timeout value]:timeout (seconds)' \
'(:)-w[wait for specified PID]: :_pids' \
'(-)1: : _command_names -e' \
'(-)*::command argument'