1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-27 14:51:58 +00:00
ohmyzsh/plugins/rand-quote
Marc Cornellà 76bfa7dd2a
rand-quote: refactor rand-quote function
- Make function variables local
- Use prompt color sequences
- Use guard clause to check for curl
- Improved syntax
2018-06-29 18:16:10 +02:00
..
rand-quote.plugin.zsh rand-quote: refactor rand-quote function 2018-06-29 18:16:10 +02:00
README.md rand-quote: add README 2018-06-29 17:55:55 +02:00

rand-quote plugin

Displays a random quote taken from quotationspage.com

Created by Eduardo San Martin Morote, aka Posva

Usage

Add the plugin to the plugins array in your zshrc file and restart zsh:

plugins=(... rand-quote)

Then, run quote to get a new random quote.