Added the first version of my theme

This commit is contained in:
Matt Oakes 2013-05-02 10:27:35 +01:00
commit ade6021717

View file

@ -0,0 +1,17 @@
# ZSH Theme - Preview: https://dl.dropboxusercontent.com/u/6740094/oh-my-zsh-2013-05-02.png
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
PROMPT='%{$fg[red]%}%2~%{$reset_color%} \
$(git_prompt_info)\
%{$fg[blue]%}%(!.#.»)%{$reset_color%} '
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
RPS1='${return_code}'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_CLEAN=""
ZSH_THEME_GIT_PROMPT_DIRTY="⚡"
RPROMPT='%{$fg[green]%}%*%{$reset_color%}'