Subject: Re: emulate -L sh impact on $0, $argv
From: Bart Schaefer <[email-masked]>
To: Zsh hackers list <[email-masked]>
Date: Sun, 31 Jan 2016 10:43:56 -0800
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Jan 31,  9:12pm, Nikolay Aleksandrovich Pavlov (ZyX) wrote:
}
} What is contained is $0 is controlled by FUNCTION_ARGZERO option,
} which is different in zsh and sh modes.

In recent zsh this is also affected by the POSIX_ARGZERO option,
but that is off by default in all emulations because of backwards-
compatibility concerns.