diff --git a/bash/bash.d/prompt_command b/bash/bash.d/prompt_command index 0d961a1..046cdd2 100644 --- a/bash/bash.d/prompt_command +++ b/bash/bash.d/prompt_command @@ -58,18 +58,11 @@ function __colored_hostname() { local PS1 if color ; then - case "${HOSTNAME%%.*}" in - 'esson') PS1+="${IGre}\h${RCol}";; - 'tinsmith') PS1+="${Gre}\h${RCol}";; - 'blacksmith') PS1+="${Blu}\h${RCol}";; + case "${HOST%%.*}" in 'locksmith') PS1+="${Pur}\h${RCol}";; 'bladesmith') PS1+="${Yel}\h${RCol}";; 'gunsmith') PS1+="${Red}\h${RCol}";; 'goldsmith') PS1+="${IYel}\h${RCol}";; - 'lilo'*) PS1+="${BWhi}\h${RCol}";; - 'hg'*) PS1+="${BRed}\h${RCol}";; - 'gouda'|'bunnik'|'houten'|'zandberg'|'bussum'|'baarn') PS1+="${Gre}${On_Whi}HEF:${Blu}${On_Whi}\h${RCol}";; - 'messier'*) PS1+="${Blu}Astro:${Red}\h${RCol}";; *) PS1+="${Blu}${On_Whi}\h${RCol}";; esac else