Re: bash prompt \W (working dir) garbled

2011-04-28 Thread Jimmy Wu
Thank you very much for that. Now I know what is going on -- the search terms I was using before were not turning up anything useful. On Thu, Apr 28, 2011 at 13:02, Jochen Schulz wrote: > Jimmy Wu: >> >> $ PS1='\W ' >> ~ cd /home >> hmee cd /media >> meiia cd /boot > > Same here, on squeeze and

Re: bash prompt \W (working dir) garbled

2011-04-28 Thread Andrew McGlashan
Jochen Schulz wrote: Jimmy Wu: $ PS1='\W ' ~ cd /home hmee cd /media meiia cd /boot Mine doesn't use \W but it works well for me. I don't have the problem with this testing: # export PS1='\W ' ~ cd /proc proc cd /etc etc cd ~ cd /home home cd /var var cd /media media I like having a w

Re: bash prompt \W (working dir) garbled

2011-04-28 Thread Jochen Schulz
Jimmy Wu: > > $ PS1='\W ' > ~ cd /home > hmee cd /media > meiia cd /boot Same here, on squeeze and sid (both amd64, just as yours). It's already reported as #589084. A link to a patch is included, in case you want to rebuild bash yourself. J. -- I worry about people thinking I have lost directio

bash prompt \W (working dir) garbled

2011-04-28 Thread Jimmy Wu
I'm getting weird behavior with my bash prompt. Here's some of the things I see on my system. $ bash # start a new shell $ PS1='\W ' ~ cd /home hmee cd /media meiia cd /boot bott cd /lib32 li332 cd /selinux selinux cd /proc pocc cd ~ mkdir home && cd home home cd .. && rmdir home ~ mkdir media &&