Re: pwd does not update when path component is renamed

2010-09-20 Thread Bob Proulx
Krzysztof Żelechowski wrote: > The text of pwd and the value of $PWD return a cached value, > regardless of the actual current path. > mkdir '-p' 'a' && cd 'a' && mv '../a' '../b' && enable '-n' 'pwd' && > builtin 'pwd' && pwd > > Fix: > cd '-P' '.' That is just the way that thin

Re: pwd does not update when path component is renamed

2010-09-20 Thread Jan Schampera
Krzysztof Zelechowski wrote: Description: The text of pwd and the value of $PWD return a cached value, regardless of the actual current path. Repeat-By: mkdir '-p' 'a' && cd 'a' && mv '../a' '../b' && enable '-n' 'pwd' && builtin 'pwd' && pwd Fix: cd '-P' '.' I thi