Skip to content

Instantly share code, notes, and snippets.

@CTimmerman
Last active March 9, 2016 10:44
Show Gist options
  • Save CTimmerman/d849557bf27bc219974c to your computer and use it in GitHub Desktop.
Save CTimmerman/d849557bf27bc219974c to your computer and use it in GitHub Desktop.
Bash text too dark? Try a lighter terminal background color.
#!/bin/bash
dircolors -p > ~/.dircolors
sed -i "s/RESET 0 /RESET 00;30;47 /" ~/.dircolors
eval `dircolors ~/.dircolors`
echo eval \`dircolors ~/.dircolors\` >> ~/.bashrc
@CTimmerman
Copy link
Author

Run ls to use the new colors. Eval idea from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment