From ade602171793d46b270c9fd1c38e5a3aa073d19a Mon Sep 17 00:00:00 2001 From: Matt Oakes Date: Thu, 2 May 2013 10:27:35 +0100 Subject: [PATCH] Added the first version of my theme --- themes/matto1990.zsh-theme | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 themes/matto1990.zsh-theme diff --git a/themes/matto1990.zsh-theme b/themes/matto1990.zsh-theme new file mode 100644 index 000000000..22aaf0fa5 --- /dev/null +++ b/themes/matto1990.zsh-theme @@ -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%}' \ No newline at end of file