Re: trailing slash in HOME variable

2009-05-11 Thread Chet Ramey
Dr. Christoph Gille wrote: > Command prompt: > Abbreviation of home path by tilde is not working when $HOME has a trailing > slash A tilde-prefix can never include a trailing slash, so it won't match a value of HOME that has one. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Ch

trailing slash in HOME variable

2009-05-11 Thread Dr. Christoph Gille
Command prompt: Abbreviation of home path by tilde is not working when $HOME has a trailing slash reproduce: export HOME=$HOME/ watch prompt cheers Christoph For your info: echo $PS1 ${debian_chroot:+($debian_chroot)}...@\h:\w\$