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

Re: setting dynamic rxvt titles with Xresoures/Xdefaults




On 17 Jul 1998, Christophe Broult wrote:

> In my .bashrc I have:
> 
> PS1='\u@\h:\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='\u@\h:$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 debian-user-request@lists.debian.org < /dev/null


Reply to: