/bol

An oh-my-zsh plugin, that prints a random quote when you open a terminal.

Primary LanguageShellMIT LicenseMIT

πŸ”Š Bol

An oh-my-zsh plugin, that prints a random quote when you open a terminal.

Screenshot

πŸ’½ How to install

  1. 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
  1. Add the plugin to the list of plugins inside ~/.zshrc:
plugins=(bol)
  1. Start a new terminal session.

βš™οΈ Options

  1. 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.

πŸ“– 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"