Jon Gallant

WSL: Disable 'ls' folder highlighting

1 min read

In WSL, when I ran ls I was getting this:

031

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

  1. Open .bashrc sudo nano ~/.bashrc

  2. Add this to the end LS_COLORS=$LS_COLORS:'ow=1;34:' ; export LS_COLORS

    032

  3. Run source ~/.bashrc

Now folders are not highlighted

033

Share:
Share on X