Files
Christina Sørensen 1b9151491c feat: add --short-nix to abbreviate Nix store hashes
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.
2026-07-09 11:26:29 +02:00
..