aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zsh/appearance.zsh4
1 files changed, 2 insertions, 2 deletions
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
}