Change all hostname calls for $HOST or $SHORT_HOST

This commit is contained in:
Marc Cornellà 2014-10-09 17:05:48 +02:00
commit 95d795e8ca
8 changed files with 8 additions and 8 deletions

View file

@ -21,7 +21,7 @@ local user="%(!.%{$fg[blue]%}.%{$fg[blue]%})%n%{$reset_color%}"
# Hostname part. compressed and colorcoded per host_repr array
# if not found, regular hostname in default color
local host="@${host_repr[$(hostname)]:-$(hostname)}%{$reset_color%}"
local host="@${host_repr[$HOST]:-$HOST}%{$reset_color%}"
# Compacted $PWD
local pwd="%{$fg[blue]%}%c%{$reset_color%}"