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

Re: Handling of *ARGZERO options, for Zsh <= 5.3



On 2 Jan 2018 at 17:57:26, dana (dana@xxxxxxx) wrote:
> If the problem is ZSH_ARGZERO, shouldn't this work in like 5.0+?
> 
> () {
> setopt local_options posix_argzero
> MY_ARGZERO=$0
> }

I should be able to use this, by running it in plugin manager, and setting ZSH_BINARY or ZSH_BIN_PATH, so that this var can then be used in substitution, thanks. Although overall rather bad news, because plugins like z-sy-h can be just sourced. Someone with source-only setup (no p-m) could run such snippet himself, though. Kinda hard that Zsh doesn't set this information.

-- 
Sebastian Gniazdowski
psprint /at/ zdharma.org



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