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
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="
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
>
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