Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Picky criticism of ls completion list formatting
- X-seq: zsh-workers 15175
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Picky criticism of ls completion list formatting
- Date: Fri, 29 Jun 2001 09:13:00 +0200 (MET DST)
- In-reply-to: <1010629023538.ZM8673@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> ... [completion listing layout]
It's all as it should be, including this one:
> With
>
> listpacked on
> listtypes on
>
> I *still* get equally-sized columns with three spaces between.
because it depends on the completion strings. If the listing code finds
out that packing the list doesn't decrease the number of lines needed,
it uses equally sized columns in the hope that they are better readable.
Try it with:
% setopt listtypes listpacked
% touch a12345678901234567890{a,b,c,d} b12{a,b,c,d}
% ls <TAB>
and you'll see that the listing code can sometimes even increase the
number of spaces between columns if it can do so without needing more
lines (it currently does that only if it can give the same number of
spaces to each column).
And a `btw': with coloured completion listings setting list_types isn't
really needed anymore, so the original poster may think about unsetting it.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author