Re: bash prompt update lagging

2009-11-17 Thread Michael P. Soulier
On 16/11/09 Polytropon said: Your PS1 seems to include ${SHORT_PWD}, a variable. It seems that it is not updated immediately after the cd command. Yeah, looks like it. Works on linux though... By the way, this is bash-3.2.25 on FreeBSD/x86 7. bash-4.0.33_2 on x86 6.3. Is this what you've

bash prompt update lagging

2009-11-15 Thread Michael P. Soulier
Hi, I use the same bash config on Linux, FreeBSD and Cygwin, for the most part, and I just noticed that on my FreeBSD system the prompt is updating one command too late. r...@kanga:/root$ pwd /home/msoulier r...@kanga:~$ cd /root r...@kanga:~$ pwd /root r...@kanga:/root$ As you can see, the

Re: bash prompt update lagging

2009-11-15 Thread Polytropon
On Sun, 15 Nov 2009 18:14:25 -0500, Michael P. Soulier msoul...@digitaltorque.ca wrote: \[\033[1;32m\]\[\033[0;36m\]\u\[\033[1;32...@\[\033[0;36m\]\h\[\033[1;32m\]:\[\033[0;37m\]${SHORT_PWD}\[\033[1;32m\]$\[\033[0;37m\] I'm wondering if this is a bash bug on bsd, or if I'm doing something