π Bol
July 21, 2021 Β· View on GitHub
An oh-my-zsh plugin, that prints a random quote when you open a terminal.

π½ How to install
- Clone this repository in
oh-my-zshcustom 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.
βοΈ Options
- You can set
BOL_QUIET_MODEenvironment variable to avoid printing a quote when you open a terminal. Say in your VS Code integrated terminal.
π Usage
This plugin comes with a CLI to perform simple tasks.
If no subcommand is passed, it calls the print subcommand.
π Help
Each subcommand comes with its own help subcommand. That defines the usage and options with examples.
π¨ Print
Print a random quote.
Usage: bol print [options]
β Add a quote
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"