From: Bjørn Rustad Date: Sun, 29 May 2011 11:28:29 +0000 (+0200) Subject: Different colors for different boxes X-Git-Url: http://git.rustad.me/?a=commitdiff_plain;h=4527ee52692857507ff4130c6a678b127effcd36;p=dotfiles Different colors for different boxes --- diff --git a/zshrc b/zshrc index bc5c083..385e971 100644 --- a/zshrc +++ b/zshrc @@ -22,10 +22,9 @@ alias ll='ls -la' COLOR=`echo -n '\e[1;32m'` for host in `hostname -f` `hostname`; do case $host in -# loki.samfundet.no) COLOR=`echo -n '\e[1;34m'` ;; -# varulf.samfundet.no) COLOR=`echo -n '\e[1;34m'` ;; + maxwell.rustad.me) COLOR=`echo -n '\e[1;36m'` ;; + epsilon.us.to) COLOR=`echo -n '\e[1;34m'` ;; *.samfundet.no) COLOR=`echo -n '\e[1;33m'` ;; - *.uninett.no) COLOR=`echo -n '\e[1;35m'` ;; esac done PROMPT=`echo %j '%(!.%{\e[1;31m%}%n.%{\e[1;30m%}%n)%{\e[0;37m%}@%{'${COLOR}'%}%m%{\e[m%}:%{\e[1;33m%}%30<..<%~%{\e[m%}%(!.#.>) '`