diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2018-04-07 15:12:57 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2018-04-07 15:12:57 +0200 |
commit | 6e1ab9aa550695ee7e3d467b4173c0b83ba7f759 (patch) | |
tree | 8fb7faa4364a7cbf1cba48296a5f537e13f2a8d9 /Completion/Darwin/Command/_caffeinate | |
parent | 5ad56a41f1ee2e61abca079f5ea8909f895ac2dd (diff) | |
parent | f027f1d6e876708bc75d4217e1ca26898658d8d3 (diff) | |
download | zsh-6e1ab9aa550695ee7e3d467b4173c0b83ba7f759.tar.gz zsh-6e1ab9aa550695ee7e3d467b4173c0b83ba7f759.zip |
Merge tag 'zsh-5.4.2-test-2' / 'upstream' branch into 'debian' branch
Test version 2 prior to zsh 5.5.
Diffstat (limited to 'Completion/Darwin/Command/_caffeinate')
-rw-r--r-- | Completion/Darwin/Command/_caffeinate | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Completion/Darwin/Command/_caffeinate b/Completion/Darwin/Command/_caffeinate new file mode 100644 index 000000000..9e361a5bd --- /dev/null +++ b/Completion/Darwin/Command/_caffeinate @@ -0,0 +1,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' |