Subject: Re: [BUG] Directory glob picks up running or already-run scripts on OS X
From: "Jun T." <[email-masked]>
To: [email-masked]
Date: Tue, 12 Jul 2016 05:08:07 +0900
List-Id: Zsh Workers List <zsh-workers.zsh.org>

Sorry, it is not necessary to run the script and atest (access(2)) from
within the same shell. Running the script by /usr/local/bin/zsh
is enough to 'cache' the info.

On El Captain:
bash$ ./atest foo/.
-1
bash$ /usr/local/bin/zsh -c ./foo
zsh:1: ./foo: bad interpreter: /bogus/command: no such file or directory
bash$ ./atest foo/.
0
bash$