Skip to content
πŸ‘€πŸ‘» A zsh friend to watch over you.
Branch: develop
Clone or download
akabiru Merge pull request #12 from NdagiStanley/develop
Fix broken link on rafiki image
Latest commit 1a380fb Sep 20, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
rafiki.zsh-theme change πŸ’€ to good, remove πŸ”₯ Jul 5, 2017


Rafiki-zsh is a oh-my-zsh theme that adds emojis to your zsh terminal. Rafiki will display a good emoji such as πŸ˜„ on your prompt whenever commands run smoothly and bad emojis such as 😑 whenever things go wrong.



  1. Download rafiki zsh as a oh-my-zsh custom theme:
 $ mkdir -p $ZSH_CUSTOM/themes && curl -o $ZSH_CUSTOM/themes/rafiki.zsh-theme
  1. Set ZSH_THEME to rafiki in your ~/.zshrc.
$ vim ~/.zshrc
 # ZSH_THEME='rafiki'
  1. Reload your zsh configuration and Voila! Rafiki is watching over you. 😎
$ source ~/.zshrc


Rafiki generates random emojis every time you start up your terminal. It also tells you who your pals are for the session.

To generate a new set just run newrafiki

$ newrafiki

You can also run rafiki to remind yourself your emoji set.

$ rafiki


Rafiki is pretty customizable.

If you prefer to have a constant set of emojis just set your goodemoji and bad emoji in .zshrc as follows.

For good emojis, set $MY_GOOD_RAFIKI to one of the following: fire muscle pointright facepunch smile sunglasses and your bad emoji to one of the following: rollingeyes pouting confused flushed middlefinger worried


Then reload your zsh configuration.

$ source ~/.zshrc

You can also add your own emojis to the supported set. Just add the emoji to one of the arrays; good or bad with the emoji name as the key emoji as the value. For example:

good[100] = πŸ’―


If you've seen the American animated epic musical film: Lion King the name Rafiki will resonate well with you.

Introducing Rafiki



Feel free to contribute, even if it's to add an emoji. πŸ˜‰ Just fork it 🍴 and raise a pull request.


This projects borrows from Robby Russell's theme. Not forgetting oh-my-zsh itself. πŸ˜„

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.