diff --git a/zsh/zshrc b/zsh/zshrc index 0ccb241..81ab383 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -103,7 +103,11 @@ then then COLOR="red" else COLOR="blue" fi -else COLOR="green" +else + if [ -n "$SSH_CLIENT" ] + then COLOR="blue" + else COLOR="green" + fi fi export PS1='%m%{$fg[$COLOR]%}:%{$reset_color%}%~${vcs_info_msg_0_}%{$fg[$COLOR]%}%#%{$reset_color%} '