added Dominik-Lieblers-MacBook-Pro.local and some more fancy pipes in the prompt

This commit is contained in:
Dominik Liebler 2011-11-29 20:00:57 +01:00
commit aa44724547

View file

@ -6,13 +6,15 @@ 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!
# are you 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%} '
SEPARATOR="%{$fg[red]%}|%{$fg[reset_color]%}"
PROMPT='%{$fg[yellow]%}$HOST$SEPARATOR$IAM%{$fg[cyan]%}%1~%{$reset_color%}$SEPARATOR$(git_prompt_info)%{$fg[cyan]%}%{$reset_color%} '
# ls colors, made with http://geoff.greer.fm/lscolors/
export LSCOLORS='Gxdxhxhxbxegedabagacad'