mirror of
https://github.com/eza-community/eza.git
synced 2026-10-11 22:30:00 +00:00
A path component starting with a Nix store hash — exactly 32
characters of Nix's base32 alphabet followed by a dash — is
displayed with the hash shortened to its first 8 characters plus an
ellipsis, painted dim so the actual name stands out:
vlkia5wk0svsikwv50554mh06iayg2m2-source.drv
-> vlkia5wk…-source.drv
This applies everywhere names are painted: listings in every view,
symbolic link targets, parent paths of targets, and --absolute
paths. The matcher requires the exact hash length and alphabet
(which has no e, o, t, or u), so ordinary file names are never
false-positively shortened.