1 ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}["
 
   2 ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
 
   3 ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*%{$reset_color%}"
 
   4 ZSH_THEME_GIT_PROMPT_CLEAN=""
 
   6 #Customized git status, oh-my-zsh currently does not allow render dirty status before branch
 
   8   local cb=$(current_branch)
 
  10     echo "$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_PREFIX$(current_branch)$ZSH_THEME_GIT_PROMPT_SUFFIX"
 
  15 if [[ -s ~/.rvm/scripts/rvm ]] ; then 
 
  16   RPS1='$(git_custom_status)%{$fg[red]%}[`~/.rvm/bin/rvm-prompt`]%{$reset_color%} $EPS1'
 
  18   if which rbenv &> /dev/null; then
 
  19     RPS1='$(git_custom_status)%{$fg[red]%}[`rbenv version | sed -e "s/ (set.*$//"`]%{$reset_color%} $EPS1'
 
  21     RPS1='$(git_custom_status) $EPS1'
 
  25 PROMPT='%{$fg[cyan]%}[%~% ]%(?.%{$fg[green]%}.%{$fg[red]%})%B$%b '