[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: colorisation and aliasing



On Sat, 27 Feb 1999 chris@dds.nl wrote:

> [chris@debian /var]
> now, nothing special, but the chris is coloured red and debian is
> Is it possible to do the same in bash?

Try this:

export PS1='[\e[01;31mcris\e[0m@\e[01;33mdebian\e[0m \w] '


Regards,

Fernando Sánchez

-
European Universities' Linux User Groups -- Help list
http://humbolt.geo.uu.nl/eulug/