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

Re: _files with match-specs



On May 5, 11:48pm, Eric Cook wrote:
}
} % _foo() _files -M 'L:|+='; compdef _foo foo
} 
} then
} % foo +<tab>
} Complete files, but removes the leading +.

Hm.  It's happening because _path_files passes (-p '') to compadd.  I've
not yet further investigated why the -p (hidden-prefix) option has this
interaction with -M (matcher-list), perhaps someone else has insight.



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