An oh-my-zsh
plugin, just print a hacker quote randomly when 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/oldratlee/hacker-quotes.git ~/.oh-my-zsh/custom/plugins/hacker-quotes
Step 2: Activate the plugin in ~/.zshrc
:
plugins=([plugins...] hacker-quotes)
Congratulations! Open a new terminal and check it! ✨
Default only print hacker quote when shell is an 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= zsh -i