Unix shell is one of the most powerful tools ever created, but sometimes it can be quite dull. Adding it a bit more spice could make your day brighter and your thoughts clearer.

This can be done by setting the LS_COLORS environment variable. Best way to do it is in $HOME/.bashrc file. If done like this, color settings will be loaded each time you start your terminal.

This post by Dereck Tracy explains in details the syntax of LS_COLORS.

There are a lot of predefined configurations that you can use to set color scheme for your shell. One of most extensive ones is hosted on github: https://github.com/trapd00r/LS_COLORS

Once you set it up, your terminal will look like this.

Happy typing!

Bash shell with different colors