RE: customize set prompt question

2004-02-02 Thread Didier WIROTH
Many thanks to all of you for your help For those who want to know: Customizing the prompt for root (with a red prompt) is: set prompt="%{\e[1;[EMAIL PROTECTED]:%~# %{\e[m%}" As you might notice for csh you have to replace the \[ \] with %{ %} > > > > $ export PS1="\[\e[1;[EMAIL PROTECTE

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\]" PURPLE="

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 >

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 PROT