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

How to tweak the format of file-list completion?



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)




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