Custom oh-my-zsh prompt theme based on:
- smt by Stephen Tudor (stephen@tudorstudio.com)
Xfce4 terminal:
- custom palette
- font: Hasklig 13
Gnome terminal:
- system color palette
- scheme: solarized dark built
- font: Droid Sans Mono for Powerline Regular 13
Basically, I borrowed and adapted the first and the second line from smt.
It shows on the left:
- git infos:
- current short sha,
- git prompt info:
- current git branch, called master and
- dirty in screenshot ( ⚡ )
- git time since last commit,
- added, modified, staged, unstaged, etc status:
- ✹ modified and
- ✭ untracked in screenshot
It shows on the left:
- prompt char ( or , visible in screenshot ):
- green char if the previous command returned successfully,
- red char otherwise.
On the right:
- current path ( %1 ),
- host name.
Check oh-my-zsh themes documentation about using themes. To make it easy:
- just drop the max0003.zsh-theme file in the themes/ directory in your oh-my-zsh distribution and
- in order to enable it, set ZSH_THEME to the name of the theme ( ZSH_THEME="max0003" ) in your ~/.zshrc ( or in a configuration file loaded by .zshrc ).

