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

Can _multi_parts listings be made shorter?



I'm having some issues with _multi_parts.  It would be better if it
would only list unique prefixes up to the first delimiter, for example

% tar xf libvorbis-1.2.0.tar <Tab>

lists

libvorbis-1.2.0/
libvorbis-1.2.0/AUTHORS
⋮
libvorbis-1.2.0/doc/Makefile
⋮

Wouldn't it be sweeter if only

libvorbis-1.2.0/

was offered in this case?  And so on if we delve into other "directories"?

For example, we could have

% tar xf libvorbis-1.2.0.tar libvorbis-1.2.0/

completed, as it is a unique prefix, then

% tar xf libvorbis-1.2.0.tar libvorbis-1.2.0/<Tab>

could list

AUTHORS
⋮
doc/
examples/
⋮

-- 
  nikolai


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