Skip to content

vkolagotla/zsh-random-quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zsh-random-quotes

Custom zsh plugin to generate random Quotes and Facts(nerd, funny, love, inspire, facts).

How to use?

It's super easy to use. Just type any of nerd/funny/love/inspire/facts in your terminal and enjoy.

How to Install?

Depending on the plugin manager you use, add following to your .zshrc file and source it.

  1. Clone the repo into your custom plugins folder, usually at (~/.oh-my-zsh/custom/plugins/)

    git clone https://gitlab.com/vkolagotla/zsh-random-quotes.git ~/.oh-my-zsh/custom/plugins/zsh-random-quotes
  2. Add zsh-random-quotes to .zshrc plugins list, usually at (~/.zshrc)

    plugins=(... zsh-random-quotes)
zplug "vkolagotla/zsh-random-quotes"
antigen bundle "vkolagotla/zsh-random-quotes"
zgen load "vkolagotla/zsh-random-quotes"

Source .zshrc file

source ~/.zshrc

Sample outputs

Sample images

Sample images

Sample images

Sample images

Sample images

TODO

  • Add more categories

About LICENSE

I created this plugin for personal use. The plugin LICENSE is only valid for the code. Since the quotes are fetched from an external source(online), i do not own that data. I would suggest you to not use the plugin for any commercial purpose, unless you have the permission to do so from those respective data sources.

Additional credits

Inspired from:
  • https://github.com/oldratlee/hacker-quotes
  • https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/rand-quote
Quotes Sources:
  • https://github.com/oldratlee/hacker-quotes
  • https://www.generatormix.com/
  • http://randomfactgenerator.net/

Go UP⬆️