Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Can't tell the difference in operation between PATH_SCRIPT and NO_PATH_SCRIPT



On Fri, Jan 26, 2024, at 12:52 AM, Bart Schaefer wrote:
> For completeness, the following also enable path_script:
>
> c) "zsh --emulate sh scriptname" or "zsh --emulate ksh scriptname"
> d) zsh is invoked by the name "sh" or "ksh" via a filesystem link
> e) ARGV0=sh or ARGV0=ksh is in the environment when zsh is invoked

f) zsh is invoked as "sh" or "ksh" via "exec -a", exec*(3), etc.

-- 
vq




Messages sorted by: Reverse Date, Date, Thread, Author