Pour `pwd` moi je fait $PWD (PS1='[\u@$PWD]') Fred
Le Jeudi 28 Mars 2002 12:27, vous avez �crit : > # .bashrc > # User specific aliases and functions > # Source global definitions > if [ -f /etc/bashrc ]; then > . /etc/bashrc > fi > PS1="[\u] `pwd` : `du -s`\n[\d at \t.]#" > > Voil� le r�sultat ( qui n'est pas bon ) : > > [manu] /home/manu : 355960 . > [Thu Mar 28 at 12:26:07.]#pwd > /home/manu > [manu] /home/manu : 355960 . > [Thu Mar 28 at 12:26:09.]#cd / > [manu] /home/manu : 355960 . > [Thu Mar 28 at 12:26:11.]#pwd > / > [manu] /home/manu : 355960 . > [Thu Mar 28 at 12:26:13.]# > > LE PWD NE SE REACTUALISE PAS ET LE DU AUSSI.... > > LORSQUE JECHANGE DE REP : J'AI TJS LE MEME PWD ET DU .... :o(((( > > ON PEUT REACTUALISER CELA ? > > Merci � vous > > Manu > > On Thursday 28 March 2002 11:12, Xavier GARREAU wrote: > > tu fais > > man bash > > > > et tu cherches PS1 et PROMPTING > > > > Tu adaptes ensuite ton fichier profile > > ----- Original Message ----- > > From: "EPenove" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > Sent: Thursday, March 28, 2002 10:09 AM > > Subject: [lea_aide] Comment le prompt de son shell ? > > > > > > Hello , > > > > je souhaite savoir comment fair edu TUNING ;o) avec le prompt du shell : > > des couleurs , avoir le chemin actuel juste au dessus de la ligne > > commande ou changer de couleurs .... bref ... > > > > c possible �a ???
Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft? Rendez-vous sur "http://www.mandrakestore.com"
