Cmder: `LS` not showing color

Created on 22 Feb 2018  路  5Comments  路  Source: cmderdev/cmder

the alias of ls, ls --show-control-chars -F --color outputs only white text. I tested older versions of cmder and found that ls from msysgit was able to produce color output but new versions with git-for-windows did not. I don't think this is a Window 7 issue but I'm not certain. I also tested this and reproduced this with a fresh install of the latest release of cmder.

All 5 comments

I'm also on the latest version, albeit on Windows 10.

I have the following lines as aliases

ll=ls --show-control-chars -F --color $* -al
ls=ls --show-control-chars -F --color $*

I have no issues with color output.

Hey there,
Cmder uses ConEmu as terminal emulator, if you are experiencing a problem with that, please open a bug over at https://github.com/Maximus5/ConEmu

Thank you! :)

It wasn't conemu.

To recap:
I could get color output from LS on older versions of cmder because those older versions used msysgit
The problem is related to the package git for windows.

ls --show-control-chars -F --color - Works for me. Running cmder 1.3.5+

ll=ls --show-control-chars -F --color $* -al
ls=ls --show-control-chars -F --color $*

This works for me as well. Thanks for sharing!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Joe1992w picture Joe1992w  路  3Comments

bmeverett picture bmeverett  路  3Comments

AaronKaa picture AaronKaa  路  3Comments

jordanrobinson picture jordanrobinson  路  3Comments

hyrious picture hyrious  路  3Comments