zsh-users
 help / color / mirror / code / Atom feed
* How to tweak the format of file-list completion?
@ 2020-12-20 18:37 Andy Spiegl
  2020-12-20 22:21 ` Bart Schaefer
  0 siblings, 1 reply; 11+ messages in thread
From: Andy Spiegl @ 2020-12-20 18:37 UTC (permalink / raw)
  To: Zsh Users

Hi zsh fans,

I really like the long format in menu selection/completion and init it like this:
 zstyle ':completion:*' file-list list=20 insert=10

But I'm unhappy with the format of the completion info.
The file size is trimmed and the YEAR of the timestamp is missing.

Here is an example:

$ ls -l Dampf<TAB>
Completing files
-rw-rw-r--   1 andy      users     1181153 Mär 16 18:25 Dampfnudelblues.gif
-rw-rw-r--   1 andy      users    08272063 Dez 14 13:46 Dampfnudelblues.mp4
-rw-rw-r--   1 andy      users          32 Apr 24 22:08 Dampfnudelblues.STATE
-rw-rw-r--   1 andy      users        1354 Aug  3 15:17 Dampfnudelblues.txt

I'd rather see something like the real result of the ls command:

-rw-rw-r-- 1 andy users    1181153 2017-03-16 18:25:03 Dampfnudelblues.gif
-rw-rw-r-- 1 andy users 4308272063 2020-12-14 13:46:18 Dampfnudelblues.mp4
-rw-rw-r-- 1 andy users         32 2017-04-24 22:08:18 Dampfnudelblues.STATE
-rw-rw-r-- 1 andy users       1354 2016-08-03 15:17:59 Dampfnudelblues.txt

Is there a way to tweak these completions?
I haven't found the right parts in the zsh manual.

Thanks and Merry Christmas!
 Andy


-- 
 If your parents never had children, chances are you won't, either.
   (Dick Cavett)


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-01-04  5:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-20 18:37 How to tweak the format of file-list completion? Andy Spiegl
2020-12-20 22:21 ` Bart Schaefer
2020-12-20 23:37   ` Andy Spiegl
2020-12-28 22:58   ` Andy Spiegl
2020-12-30 22:14     ` Bart Schaefer
2021-01-02 23:01       ` Andy Spiegl
2021-01-02 23:16         ` Lawrence Velázquez
2021-01-02 23:23           ` Andy Spiegl
2021-01-03  0:11             ` Bart Schaefer
2021-01-03 18:06               ` Andy Spiegl
2021-01-04  5:40                 ` [OT] " Daniel Shahaf

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).