From: root Date: Mon, 17 Nov 2014 23:46:05 +0000 (+0000) Subject: Lowercase HOSTNAME X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=26b6e73fb36ed02e2238062c48363ebbd773ee06;p=nb.git Lowercase HOSTNAME --- diff --git a/etc/bashrc b/etc/bashrc index fe1b67ce..0695cd27 100644 --- a/etc/bashrc +++ b/etc/bashrc @@ -58,7 +58,8 @@ case "$TERM" in esac h='\h' -case $(tr '[:upper:]' '[:lower:]' <<<"$HOSTNAME") in +#case $(tr '[:upper:]' '[:lower:]' <<<"$HOSTNAME") in +case "$HOSTNAME" in pi*) color=31 ;; # ovh - yellow *.ovh.net|*.kimsufi.com|*.ip-*.eu) color=33 ;;