From: zeris (zeris at domain zeris.net)
Date: Mon 06 Sep 1999 - 11:46:44 IST
* Breathnach, Proinnsias(Dublin) (breatpro at domain MLE.CO.UK) [990906 10:39]:
hi,
there is a BASH prompt how to.
http://www.linuxdoc.org/HOWTO/Bash-Prompt-HOWTO.html
but an example would be:
export PS1='[\[\033[33m\]\u\[\033[39m\] at domain \[\033[32m\]\h\[\033[39m\] \w ]\$ '
my non-root prompt,
and
export PS1='[\[\033[31m\]\u\[\033[39m\] at domain \[\033[32m\]\h\[\033[39m\] \w ]\$ '
would be a fetching red 'root' coloured.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:32 GMT