Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Can _multi_parts listings be made shorter?
- X-seq: zsh-workers 23895
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "zsh workers" <zsh-workers@xxxxxxxxxx>
- Subject: Can _multi_parts listings be made shorter?
- Date: Tue, 2 Oct 2007 00:17:27 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=UYXv2sT1YGLjK3y71S9pn9QTJoMuhtNvgOPN8gN5XH4=; b=LeLM8h+WUSXBemFSs4roXmQInnoB8kHP2vesSfV0qcqTsQ/XfDiCuVfTMAcWoCxbpbc/9m19zfc5D9LpMsHu/nhmCEskgJ93GNeitw1gOtnK4WwZAUayGMV5Gq36Ze8rL5BJw3wsu+YAdZxPZ4g7WzmqMSoqeoOtzRvBxhIyKHI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=K7bbjPu2Yo22MaNd9Qf0kjvgZUzS0oY5jq5xTcXiMPjlQ+IlqKgW8BMRS0UusDxDVaVQUjiOsKMBbl4fsDElGnU+ZOm+TIZsJ0++2Hj2+8RJtvoJJPbtfLIwo6LPvRlN6vYhPHGakpCCTWCLwC9JMs4MOL0edBofEbOJ91elF4Y=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: nikolai.weibull@xxxxxxxxx
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