Skip to content

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

License

Notifications You must be signed in to change notification settings

ikhurramraza/bol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔊 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"

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages