You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing a long list of files in a directory (ls -l) GNU ls uses mi attribute of LS_COLORS to highlight an invalid target of a link. For valid links, the target is highlighted as per LS_COLORS, as if it was just another directory item.
This makes it very easy to identify what kind of item the link is pointing to, eg: a normal file, a socket, a directory, or another symlink.
It would be nice if lsd followed the same highlighting pattern.
Actual behaviour
lsd behaves correctly when highlighting invalid links target, ie: it follows the colours defined for mi in LS_COLORS. However, a target of a valid link is always highlighted as a link (ln in LS_COLORS), irrespective of what item the link is actually pointing to.
The text was updated successfully, but these errors were encountered:
Current behaviour was observed across the following systems:
Expected behaviour
When doing a long list of files in a directory (
ls -l
) GNUls
usesmi
attribute of LS_COLORS to highlight an invalid target of a link. For valid links, the target is highlighted as per LS_COLORS, as if it was just another directory item.This makes it very easy to identify what kind of item the link is pointing to, eg: a normal file, a socket, a directory, or another symlink.
It would be nice if
lsd
followed the same highlighting pattern.Actual behaviour
lsd
behaves correctly when highlighting invalid links target, ie: it follows the colours defined formi
in LS_COLORS. However, a target of a valid link is always highlighted as a link (ln
in LS_COLORS), irrespective of what item the link is actually pointing to.The text was updated successfully, but these errors were encountered: