[bash] move dircolors into .config directory

This makes the home directory a little less cluttered and respects XDG.
This commit is contained in:
Fernando Schauenburg 2019-02-16 23:31:45 +01:00
parent c015e4ba54
commit 861212dcc8
3 changed files with 1 additions and 1 deletions

View file

@ -206,7 +206,7 @@ bashrc_customize_prompt() {
} }
bashrc_customize_ls() { bashrc_customize_ls() {
local ls_colors="$HOME/.dircolors/solarized-$BACKGROUND" local ls_colors="$HOME/.config/dircolors/solarized-$BACKGROUND"
if type dircolors &> /dev/null && [ -f $ls_colors ]; then if type dircolors &> /dev/null && [ -f $ls_colors ]; then
eval "$(dircolors $ls_colors)" eval "$(dircolors $ls_colors)"
fi fi