An oh-my-zsh
plugin, just print a hacker quote randomly when you open a terminal.
To install hacker-quotes
under oh-my-zsh
:
Step 1: Clone this repository in oh-my-zsh
's plugins directory:
git clone https://github.com/imxieke/hacker-quotes.git ~/.oh-my-zsh/custom/plugins/hacker-quotes
zplug "imxieke/hacker-quotes"
Step 2: Activate the plugin in ~/.zshrc
, if not using zplug :
plugins=([plugins...] hacker-quotes)
Congratulations! Open a new terminal and check it! ✨
Default only print hacker quotes when shell is a interactive login shell.
If you want just checking for an interactive shell, set var ZSH_HACKER_QUOTES_ENABLE_WHEN_INTERACTIVE
.
For example:
ZSH_HACKER_QUOTES_ENABLE_WHEN_INTERACTIVE=true