https://github.com/gakimball/zsh-coffee-time
zsh plugin for quicker caffeinate in macOS
https://github.com/gakimball/zsh-coffee-time
Last synced: 8 months ago
JSON representation
zsh plugin for quicker caffeinate in macOS
- Host: GitHub
- URL: https://github.com/gakimball/zsh-coffee-time
- Owner: gakimball
- License: mit
- Created: 2023-05-29T07:14:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-29T07:23:03.000Z (over 2 years ago)
- Last Synced: 2025-01-19T06:27:48.209Z (10 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - coffee-time - Adds the `caf` alias, which runs `caffeinate -dims`. The extra flags keep everything awake: the system, the drive, and the display. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - coffee-time - Adds the `caf` alias, which runs `caffeinate -dims`. The extra flags keep everything awake: the system, the drive, and the display. (Plugins / ZSH on Windows)
README
# coffee-time
Folks, I just can't spell the word _caffeinate_. Problem is, it's a handy command line utility built into macOS that prevents your computer from going to sleep.
This zsh plugin adds the `caf` alias, which runs `caffeinate -dims`. The extra flags keep _everything_ awake: the system, the drive, and the display. Also includes ASCII art, which is why I can justify making a plugin for this one alias.
## Installation
Usage with oh-my-zsh:
```
cd $ZSH_CUSTOM/plugins
git clone git@github.com:gakimball/zsh-coffee-time coffee-time
```
Add it to your plugins in `.zshrc`:
```
plugins=(coffee-time)
```
## License
MIT © [Geoff Kimball](https://geoffkimball.com)