1 [[ $(hostname) == "tardis" ]] && hostcolor=red
2 [[ $(hostname) == "shada" ]] && hostcolor=green
3 PROMPT="%(?..%{$fg_bold[white]%}[%?])%{$reset_color%}[%D{%k:%M} %n@%{$fg[$hostcolor]%}%m%{$reset_color%}]%# "
4 RPROMPT="%{$fg[green]%}%~%{$reset_color%}"