diff options
| author | dana <dana@dana.is> | 2018-01-05 14:26:17 -0600 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2018-01-06 00:13:51 +0100 |
| commit | 0f0b602415961aa9ca069c9719a0fbb4bbb9941f (patch) | |
| tree | 03001cfaf7ed12c26a354a996f52c4920d08cb76 /Completion/Darwin/Command/_caffeinate | |
| parent | 42230: update screen completion to 4.06.01 (diff) | |
| download | zsh-0f0b602415961aa9ca069c9719a0fbb4bbb9941f.tar zsh-0f0b602415961aa9ca069c9719a0fbb4bbb9941f.tar.gz zsh-0f0b602415961aa9ca069c9719a0fbb4bbb9941f.tar.bz2 zsh-0f0b602415961aa9ca069c9719a0fbb4bbb9941f.tar.lz zsh-0f0b602415961aa9ca069c9719a0fbb4bbb9941f.tar.xz zsh-0f0b602415961aa9ca069c9719a0fbb4bbb9941f.tar.zst zsh-0f0b602415961aa9ca069c9719a0fbb4bbb9941f.zip | |
42231: new completion functions for simple utilities belonging to the 'Darwin' and 'Linux' groups.
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' |
