cd won't change the prompt if the command is typed in the vi editor (vi
From:
Peng Yu
Subject:
cd won't change the prompt if the command is typed in the vi editor (vi mode).
Date:
Sun, 12 May 2013 17:50:18 -0500
Hi,
I have vi mode set.
set -o vi.
Then I type v to enter the vi editor. In the vi editor, I type 'cd
/tmp'. Then, I get the following screen output. Notice that the prompt
does not change immediately after the cd command. Could anybody
reproduce this behavior? Thanks.
~$
cd /tmp
~$ echo $PWD
/tmp
/tmp$
--
Regards,
Peng