$ZSH_ARGZERO
–
Name of current script or shell
$ZSH_ARGZERO
contains the name of the current script.
If it’s used inside an interactive shell, this variable contains the name used to invoke the shell.
Links
BashSupport Pro is a Zsh IDE with support for $ZSH_ARGZERO – try it now!