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.