[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux-team] Construction d'un prompt



At 03:08 PM 8/19/99 +0200, you wrote:
>Pour l'instant je construis mon prompt sous bash avec la ligne suivante:
>export PS1="\u@\h (\`pwd -P\` - \!) > "
>Ce qui donne un prompt du genre: kuty@volvic (/volvic/USERS/kuty - 534) >
>Cependant j'aimerais que cela soit plutot: kuty@volvic (kuty - 534) > 

\W
donc
export PS1="\u@\h (\W - \!) > "

Eric.


---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.