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
This makes it difficult to tell from a simple ls whether a file is a symlink, whereas it's a different color in standard color schemes.
What would be ideal would be a format that preserved the color of the extension while adding something else (e.g. underline, inverted colors, or italics, preferably not italics as it doesn't work on many terminals). I understand that may be difficult as underline is already used for .docm.pptxm.pptsm.xlsxm.xltm and LS_COLORS, but it'd make a big difference (at least for me).
LS_COLORS output:
gls and ls output on macOS:
Orphan links are already highlighted, which is great.
I haven't looked at this closely but I'm not sure dircolors supports it. If you can figure it out, please send a PR because I don't see a downside.
I'm shocked -- shocked! -- to discover we're using underline for MS Office documents. That makes little sense to me. My terminals or fonts don't support it, I guess.
Yeah, looks like you're right, adding support for this would require actually modifying the source for ls, which is not something I have much experience with.
AFAICT symlinks are coloured according to the extension of the link:
LS_COLORS/LS_COLORS
Line 44 in 73965bd
This makes it difficult to tell from a simple
ls
whether a file is a symlink, whereas it's a different color in standard color schemes.What would be ideal would be a format that preserved the color of the extension while adding something else (e.g. underline, inverted colors, or italics, preferably not italics as it doesn't work on many terminals). I understand that may be difficult as underline is already used for
.docm
.pptxm
.pptsm
.xlsxm
.xltm
andLS_COLORS
, but it'd make a big difference (at least for me).LS_COLORS
output:gls
andls
output on macOS:Orphan links are already highlighted, which is great.
LS_COLORS/LS_COLORS
Line 50 in 73965bd
Sorry if this has come up before, couldn't find an issue that mentioned it.
The text was updated successfully, but these errors were encountered: