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 prompt with my current location doesn't update until the
command _following_ my directory change.
r...@kanga:/root$ echo $PS1
\[\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 wrong.
Has anyone seen this?
Thanks,
Mike
--
Michael P. Soulier <[email protected]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
pgpa3IweNPAgg.pgp
Description: PGP signature
