File: _caffeinate

package info (click to toggle)
zsh 5.9-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie, trixie-proposed-updates
  • size: 23,856 kB
  • sloc: ansic: 108,138; sh: 6,976; makefile: 722; perl: 687; awk: 291; sed: 16
file content (12 lines) | stat: -rw-r--r-- 395 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#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'