From 4fbdfcb8d41365acdacd53e30ba199931d3f155c Mon Sep 17 00:00:00 2001 From: Dominik Liebler Date: Thu, 14 Jul 2011 12:28:51 +0200 Subject: [PATCH] added domnikl theme --- themes/domnikl.zsh-theme | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 themes/domnikl.zsh-theme diff --git a/themes/domnikl.zsh-theme b/themes/domnikl.zsh-theme new file mode 100644 index 000000000..17a26e91b --- /dev/null +++ b/themes/domnikl.zsh-theme @@ -0,0 +1,18 @@ +# Hey ho - let's go! + +# git settings +ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX=" %{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[yellow]%}⚡%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔%{$reset_color%}" + +# am I root? show me! +IAM="" +if [ "$UID" = "0" ]; then + IAM="%{$fg[red]%}root|%{$reset_color%}" +fi + +PROMPT='$IAM%{$fg[cyan]%}%1~%{$reset_color%}%{$fg[red]%}|%{$reset_color%}$(git_prompt_info)%{$fg[cyan]%}⇒%{$reset_color%} ' + +# ls colors, made with http://geoff.greer.fm/lscolors/ +export LSCOLORS='Gxdxhxhxbxegedabagacad'