Last active
February 23, 2020 08:40
-
-
Save omar2205/d6ecfa223ec95ddec552292e3db051af to your computer and use it in GitHub Desktop.
Fixes WSL (Windows 10 subsystem for linux) weird green colors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# fixes the weird green background for dirs | |
dircolors -p > ~/.dircolors | |
# STICKY_OTHER_WRITABLE 30;42 | |
# OTHER_WRITABLE 34;42 | |
sed -i -e 's/STICKY_OTHER_WRITABLE 30;42/STICKY_OTHER_WRITABLE 01;34/g' ~/.dircolors | |
sed -i -e 's/OTHER_WRITABLE 34;42/OTHER_WRITABLE 01;34/g' ~/.dircolors | |
bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -s https://gist.githubusercontent.com/omar2205/d6ecfa223ec95ddec552292e3db051af/raw/66b2cb51b7dd8f127df0ab8c419222bd22600cfe/fix_wsl_colors.sh | bash