WSL: Disable 'ls' folder highlighting
1 min read
In WSL, when I ran ls I was getting this:

The folders were highlighted, not matter what theme I changed Terminal to.
I did a bunch of searching and found this: https://stackoverflow.com/a/43147778
-
Open .bashrc
sudo nano ~/.bashrc -
Add this to the end
LS_COLORS=$LS_COLORS:'ow=1;34:' ; export LS_COLORS
-
Run
source ~/.bashrc
Now folders are not highlighted

Share:
Share on LinkedIn
Quick Share: Your custom post text has been copied to your clipboard! Click the button below to open LinkedIn's share dialog, then paste it.
💡 Tip: LinkedIn will open in a new tab. Use Ctrl+V (or Cmd+V on Mac) to paste your text.
Note: LinkedIn will show the article preview. You can add your custom text above it.