Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Filename generation: instruct zsh not to follow symbolic links?
On 2026-07-16 12:17:55 -0700, Bart Schaefer wrote:
> nosym() { [[ $REPLY:a == $REPLY:A ]] || reply=() }
Thanks. I suppose that it should actually be
nosym() { [[ $REPLY == $REPLY:A ]] || typeset -g reply=() }
to avoid warnings with WARN_CREATE_GLOBAL.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author