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

Re: [PATCH] Optimization of getarrvalue()



2016/11/14 21:32, Jun T. <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:

> I still don't understand why compadd is confused by '' in its
> arguments.

It was rather obvious. With the following
   compadd '' -a array
compadd thinks that the possible completions are
   ''  '-a'  and  'array'
rather than the words in $array.



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