Add hostname to shell prompt (so you know what system you're logged on)

This commit is contained in:
Dag Wieers 2013-03-09 22:58:11 +01:00
parent 24a9b86e53
commit aed76dd14b

View File

@ -23,7 +23,7 @@
# evironment variables that are not user defined.
################################################################################
PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] '
PS1='\[\e[0;32m\]\u\e[1;30m@\e[1;32m\h\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] '
export PS1
case "$TERM" in