Re:Production is Red, Development is Blue
by jonhohle on Monday January 10, 2011 @02:18PM
(#2089408)
I do that in bash for root/non-root users (root is red, non-root is blue):
Interesting to think about using it across servers, though.
[ Parent
| on HN ]
Re:Production is Red, Development is Blue
by mgedmin on Tuesday January 11, 2011 @08:18AM
(#2091796)
I used to have a different prompt color when SSH_CONNECTION was in my environment, to distinguish local terminals from remote connections. And also root/non-root, although I didn't know about $EUID and used the less-effective $(id -u).