From 4f40c9bc981741df98b225409f719efc31d967a3 Mon Sep 17 00:00:00 2001 From: Ciacho Date: Tue, 8 Mar 2016 09:05:10 +0100 Subject: [PATCH] update context --- themes/ciacho.zsh-theme | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/themes/ciacho.zsh-theme b/themes/ciacho.zsh-theme index 364264c04..cafaaa3d9 100644 --- a/themes/ciacho.zsh-theme +++ b/themes/ciacho.zsh-theme @@ -129,18 +129,12 @@ prompt_ciacho_context() { if [[ $(whoami) == root ]]; then # red @ cyan uid_color=red - host_color=white elif [[ $(uname) == Darwin ]]; then uid_color=cyan - host_color=cyan - elif [[ $(uname) == Darwin && $(whoami) == root ]]; then - uid_color=red - host_color=cyan else uid_color=white - host_color=white fi - prompt_segment black default "%(!.%{%F{$uid_color}%}.)$USER%(!.%{%F{white}%}.)@%(!.%{%F{$host_color}%}.)%m" + prompt_segment black $uid_color "$USER@%m" }