From 4511e86bc4f60bd60cca4c505c654d841ba58506 Mon Sep 17 00:00:00 2001 From: Gregory Liras Date: Sun, 15 Jan 2012 22:41:58 +0200 Subject: [PATCH] updated colors in theme, showing hostname as well --- themes/master.zsh-theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/master.zsh-theme b/themes/master.zsh-theme index a51106138..10011a02a 100644 --- a/themes/master.zsh-theme +++ b/themes/master.zsh-theme @@ -42,8 +42,8 @@ ZSH_THEME_GIT_PROMPT_UNTRACKED=" %{$GREEN%}unt" # Prompt format -if [ $UID -eq 0 ]; then CARETCOLOR="red"; else CARETCOLOR="blue"; fi +if [ $UID -eq 0 ]; then CARETCOLOR="red"; else CARETCOLOR="green"; fi -PROMPT='%{${BLUE}%}%n%{$RESET_COLOR%}:%{${GREEN}%}%3~$(parse_git_dirty)$(git_prompt_ahead) %{${fg_bold[$CARETCOLOR]}%}%#%{${RESET_COLOR}%} ' +PROMPT='%{${GREEN}%}%n%{$RESET_COLOR%}:%{${YELLOW}%}%m%{${BLUE}%}%3~$(parse_git_dirty)$(git_prompt_ahead) %{${fg_bold[$CARETCOLOR]}%}%#%{${RESET_COLOR}%} ' RPROMPT='%{$RED%}$(current_branch)$(git_prompt_status)%{$RESET_COLOR%}'