How can I change the background color for file names in the ls command?

0
0
Asked By CoolCat88 On

I've been using PowerShell and when I run the "ls" command, the file names appear in white with a bright blue background, which makes them hard to read, especially since I'm using the "One half dark" color scheme. Is there a way to tweak the settings so that the background color matches the font color instead? I'd prefer to have no background color at all. Just for reference, I managed to solve this using some info I found on the website of Scott Hanselman, but I'd love to hear if anyone else has other tips or settings that can help!

1 Answer

Answered By TechieTinker On

The colors in PowerShell are controlled by the terminal itself. So first, it's important to know which terminal you are using. If you're on Windows Terminal, you can customize the colors through its settings. Just open the settings file and look for the color scheme you're using. You should be able to change the colors for different types of output, including the ls command.

CleverCoder92 -

Yeah, the Windows Terminal allows for a lot of customization! If you adjust the 'Background' settings to match the 'Foreground' color, you should have the effect you want.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.