jreese.zsh-theme 580 B

12345678910111213141516
  1. # ZSH Theme - Preview: http://dl.dropbox.com/u/1552408/Screenshots/2010-04-08-oh-my-zsh.png
  2. if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
  3. local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
  4. PROMPT='%{$fg[$NCOLOR]%}%n%{$fg[green]%}@%m%{$reset_color%} %~ \
  5. $(git_prompt_info)\
  6. %{$fg[red]%}%(!.#.»)%{$reset_color%} '
  7. PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
  8. RPS1='${return_code}'
  9. ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}±%{$fg[yellow]%}"
  10. ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
  11. ZSH_THEME_GIT_PROMPT_CLEAN=""
  12. ZSH_THEME_GIT_PROMPT_DIRTY="⚡"