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

Re: BUG: locals remove setopt autonamedirs



On Tue, Apr 7, 2026 at 10:03 AM Philippe Altherr
<philippe.altherr@xxxxxxxxx> wrote:
>
> Currently if the function "foo" happens to declare a local string parameter named "n", the custom named directory "n" will be erased

The same thing will happen if "foo" happens to use "n" without
declaring it local, even after your patch.  It's never safe to use
both.




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