A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
- Run
install
script to copy theme to your ~/.oh-my-zsh folder
NOTE: In all likelihood, you will need to install a Powerline-patched font for this theme to render correctly.
For iTerm 2 users, you have to set the font on : iTerm 2 -> Preferences -> Profiles -> Text and use one of the *Powerline* fonts :
To test if your terminal and font support it, check that all the necessary characters are supported by copying the following command to your terminal: echo "⮀ ± ⭠ ➦ ✔ ✘ ⚡"
. The result should look like this:
- If the previous command failed (✘)
- User @ Hostname (if user is not DEFAULT_USER, which can then be set in your profile)
- Working directory
- Git statuses
- Dirty working directory (orange / green)
- Branch (⭠) or detached head (➦)
- Current branch / SHA1 in detached head state
- Remote branch name (if you're tracking a remote branch)
- Number of commit ahead HEAD and behind remote tracking branch (remote tracking segment will be magenta if merge/rebase is needed)