Lsd: Wrong output when using custom folder icon

Created on 3 Jul 2019  ·  3Comments  ·  Source: Peltoche/lsd

Expected behavior

lsd should display correctly Icon\r file along with other files in the same folder.

Actual behavior

When using a custom folder icon (presence of Icon\r in the directory), any folder which name is sorted alphabetically _AFTER_ Icon\r will mess up the output of lsd command (lsd -la still works correctly though).
Screen Shot 2019-07-02 at 22 06 37

kinbug

All 3 comments

Icon\r contains a CR character r which make it displays improperly.
I'm not sure about the correct behavior but ls is displaying something like this Icon\n -> Icon??

Good old ls displays Icon?

lsd-ls-diff

looks like it's fixed in 0.16.0, I don't get this issue anymore, thanks!

Was this page helpful?
0 / 5 - 0 ratings