From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk
Subject: Re: PATCH: list-files style for "ls -l" completion listings
Date: Tue, 7 Mar 2006 12:59:10 +0000 [thread overview]
Message-ID: <20060307125910.05a73f9c.pws@csr.com> (raw)
In-Reply-To: <EXCHANGE03GAWaASm8J00013368@exchange03.csr.com>
Peter Stephenson <pws@csr.com> wrote:
> Here are the bare bones of a way of getting more information about
> file listings. Setting the list-files style allows you to have
> files listed as for "ls -L" instead of "ls" or "ls -F". The
> style can take a number so list=10 means show in long format only if
> listing but not inserting and only if there are no more than 10 matches.
>...
> This is still very basic:
> - I have chickened out of adding the framework to _path_files in all but
> the simplest cases where the files are add as a simple array. If
> anyone thought they understodd _path_files they could do better.
> This definitely needs fixing (any occurrence of "compadd -Qf"
> should handle file-list in the same way).
I've fixed this, I think, though the other items are still open.
I've committed the result with a few minor tweaks. Note that
you can use a numeric argument to control this by using zstyle -e.
Remember, too, that you need to recompile the main shell to get this
to work (though unless you set the file-list style it shouldn't try
to use the new compadd option).
Feedback is useful.
(I've finally changed the version in the archvie to 4.3.2-dev-1 as I said
was going to do last week.)
--
Peter Stephenson <pws@csr.com> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
prev parent reply other threads:[~2006-03-07 13:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-06 13:09 Peter Stephenson
2006-03-07 12:59 ` Peter Stephenson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060307125910.05a73f9c.pws@csr.com \
--to=pws@csr.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).