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

Re: (N) defaults to whole directory listing



On Fri, Jan 29, 2021 at 9:01 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> That's about what I expected to hear.  zsh can't be expected to feed
> 'ls' with something that duplicates a non-existent file, it can only
> remove the non-existent file thus leaving no argument

Your problem is that (N) means NULL_GLOB, but you want it to mean CSH_NULL_GLOB.

Have you considered using "setopt CSH_NULL_GLOB" and then not using (N) ...?




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