On 17 Jul 1998, Christophe Broult wrote:

> In my .bashrc I have:
> 
> PS1='[EMAIL PROTECTED]:\w \$ '
> 
> So I get a prompt including a tilde in the prompt when the current
> directory is under my home directory, ie ~/foo instead of
> /home/broult/foo

Use 

PS1='[EMAIL PROTECTED]:$PWD \$ ' 

instead and you'll get the fully expanded path.

IIRC bash has some "set -o" type of option that influences tilde
expansion, but I'm not sure if it is related to this.

Cheers,


Joost



--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to