An oh-my-zsh
plugin, that prints a random quote when you open a terminal.
- Clone this repository in
oh-my-zsh
custom plugins directory:
git clone https://github.com/ikhurramraza/bol ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/bol
- Add the plugin to the list of plugins inside
~/.zshrc
:
plugins=(bol)
- Start a new terminal session.
- You can set
BOL_QUIET_MODE
environment variable to avoid printing a quote when you open a terminal. Say in your VS Code integrated terminal.
This plugin comes with a CLI to perform simple tasks.
If no subcommand is passed, it calls the print
subcommand.
Each subcommand comes with its own help
subcommand. That defines the usage and options with examples.
Print a random quote.
Usage: bol print [options]
A new quote can be added using the bol add
command.
Usage: bol add <name> <quote> [options]
Examples:
bol add bad-code "Code is like humor. If you have to explain it, it’s bad."
bol add bad-code "Code is like humor. If you have to explain it, it’s bad." --author "Cory House"