Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: `cd .` in non-existent directory leads into weird corner case
On 2012-04-05 02:03:11 +0900, Jun T. wrote:
> On 2012/04/03, at 23:43, Vincent Lefevre wrote:
> > mv ../../tmpdir1 ../../tmpdir3
> > pwd
> >
> > /tmp/tmpdir3/tmpdir2
>
> In my case this happens only by 'pwd -P'.
> I guess you have CHASE_LINKS set.
I usually do such tests with the default configuration, e.g. after
"zsh -f" or by putting the commands in a file <script>, run with
<shell> <script>
so that I can test them with several shells (zsh, dash, bash, ksh93...).
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author