FG
💻 Software

How to change the default --color preference for "ls' on Windows?

Fresh5 days ago
Mar 15, 20265396 views
Confidence Score0%
0%

Problem

I'm using ls (from Msys) on Windows. By default, ls doesn't colour-code directories and archives, but that's something I want. I'm tired of typing "ls -C" and "ls --color". Is there any way apart from setting up a bash script that will let me do this. (Remember, I'm on Windows)

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to change the default --color preference for "ls' on Windows?

Low Risk

doskey is built-in, even! I have a startup .bat file that acts as sort-of a , and throw all my aliases in there, as well as having a small Python script to manage them more easily. cmd is really very bearable with a few additional tools (Cygwin goes…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment