customize set prompt question

2004-02-02 Thread Didier WIROTH
Hi, I would like to colorize this prompt: set prompt=@%m:%~# How do I have to modify the prompt so that the entire prompt is of red color. Only the prompt should be red, not what is typed or the results of any output. many thanks ___ [EMAIL

Re: customize set prompt question

2004-02-02 Thread Nathan Kinkade
On Mon, Feb 02, 2004 at 11:48:13AM +0100, Didier WIROTH wrote: Hi, I would like to colorize this prompt: set prompt=@%m:%~# How do I have to modify the prompt so that the entire prompt is of red color. Only the prompt should be red, not what is typed or the results of any output.

Re: customize set prompt question

2004-02-02 Thread Chris Riley
FWIW this is what I use in my .bashrc. The contol codes are for an ANSI terminal, the shell doesn't care what to use. The \[ and \] are bash specific, you'll want to remove them for csh. BLACK=\[\e[0;30m\] BLUE=\[\e[0;34m\] GREEN=\[\e[0;32m\] CYAN=\[\e[0;36m\] RED=\[\e[0;31m\]