From a5d2ab1158bb3daef75549a6c1dd1010050c82bd Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Fri, 10 Jun 2011 16:41:16 -0400 Subject: override the host prompt format for more details --- zsh/appearance.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zsh/appearance.zsh') diff --git a/zsh/appearance.zsh b/zsh/appearance.zsh index 84d8471..97d14b4 100644 --- a/zsh/appearance.zsh +++ b/zsh/appearance.zsh @@ -77,9 +77,9 @@ function ve_prompt_info { # print the hostname in green if local, else red function hostname_info { if [[ $ZSH_LOCAL_ENV == "true" ]]; then - echo "%{$fg[green]%}%m%{$reset_color%}" + echo "%{$fg[green]%}%{$ZSH_HOST_PREFIX%}%m%{$ZSH_HOST_SUFFIX%}%{$reset_color%}" else - echo "%{$fg[green]%}%{$bg[red]%}%m%{$reset_color%}" + echo "%{$fg[green]%}%{$bg[red]%}%{$ZSH_HOST_PREFIX%}%m%{$ZSH_HOST_SUFFIX%}%{$reset_color%}" fi } -- cgit v1.2.3