A tiny shell plugin that shows a random reason to enjoy life every time you open a new terminal.
Available for Fish, Zsh, Bash and PowerShell.
fisher install paulrobu/enjoy-lifefisher remove paulrobu/enjoy-lifezinit light paulrobu/enjoy-lifeAdd to your .zsh_plugins.txt:
paulrobu/enjoy-life
git clone https://github.com/paulrobu/enjoy-life \
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/enjoy-lifeThen add enjoy-life to the plugins=(...) list in your ~/.zshrc.
Remove the plugin from your plugin manager, or remove the source line from ~/.zshrc.
git clone https://github.com/paulrobu/enjoy-life ~/.enjoy-life
echo 'source ~/.enjoy-life/enjoy-life.bash' >> ~/.bashrc
source ~/.bashrccp ~/.enjoy-life/enjoy-life.bash \
~/.bash_it/plugins/available/enjoy-life.plugin.bash
bash-it enable plugin enjoy-lifeRemove the source line from ~/.bashrc, or disable via your plugin manager.
Works on Windows, macOS, and Linux (PowerShell 5.1+).
git clone https://github.com/paulrobu/enjoy-life "$HOME/.enjoy-life"Then add this line to your PowerShell profile ($PROFILE):
. "$HOME/.enjoy-life/enjoy-life.ps1"To open your profile for editing:
notepad $PROFILE # Windows
code $PROFILE # VS Code (any platform)If your profile doesn't exist yet, create it first:
New-Item -ItemType File -Path $PROFILE -ForceRemove the . "$HOME/.enjoy-life/enjoy-life.ps1" line from your $PROFILE.
💙 See a sunset that sets the sky on fire
💙 Looking back on this moment in 10 years and knowing you made it
All reasons live in a single file: reasons.txt — one reason per line, blank lines and # comments are ignored.
After editing, regenerate all shell files by running:
./build.shThis overwrites conf.d/enjoy_life.fish, enjoy-life.plugin.zsh, enjoy-life.bash, and enjoy-life.ps1 from reasons.txt. Never edit those files directly — your changes will be lost on the next build.
PRs welcome — new reasons, new shells, bug fixes.