On Thu, Jul 25, 2002 at 05:46:09PM +0200, aurelien naldi wrote:
> Le jeudi 25 juillet, �  17h21 Frederid LEGER a ecrit :
> 
> > 
> >  Oui, ajouter des quotes autour du prompt
> 
> 
> ceci n'a en rien regl� ce probleme chez moi, par contre passer a
> la ligne le resout. c'est par ailleurs tout a fait confortable :
> ca permet d'avoir le repertoire courant et l'heure dans le prompt
> sans pour autant qu'il occupe toute la place
> 
> mon prompt :
> PS1="\e[0;[EMAIL PROTECTED] \e[m[\e[33m\t\e[m] \e[1;36m\w\e[m\n� "
> 
> -- 
> aurelien
> 
> ------
> Training is everything.  The peach was once a bitter almond;
> cauliflower is
> nothing but cabbage with a college education.
>               -- Mark Twain, "Pudd'nhead Wilson's Calendar"
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

oui, ma faute :-/

NOCOLOR='\e[0;00m'
ROUGE='\e[1;31m'
BLEU='\e[1;34m'
WTITLE_START='\033]0;'
WTITLE_END='\007'

case $TERM in

    xterm|eterm|rxvt)
        PS1="[EMAIL PROTECTED]:\W]$
$WTITLE_START\h$WTITLE_END\]"
        ;;
    *)
        PS1='[EMAIL PROTECTED]:\W] \$\]'
        ;;

esac

#
# Forget that now it's useless
#
unset NOCOLOR
unset ROUGE
unset BLEU
unset WTITLE_START
unset WTITLE_END

Ca devrait mieux marcher avec ca en totu cas c'est ce qu'on m'a repondu
quand j'ai pos� la meme question :))

Bon courage

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Répondre à