From 861212dcc84772eb29792e4194f7dc81796882f2 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Sat, 16 Feb 2019 23:31:45 +0100 Subject: [PATCH] [bash] move dircolors into .config directory This makes the home directory a little less cluttered and respects XDG. --- bash/.bashrc | 2 +- {dircolors/.dircolors => bash/.config/dircolors}/solarized-dark | 0 .../.dircolors => bash/.config/dircolors}/solarized-light | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename {dircolors/.dircolors => bash/.config/dircolors}/solarized-dark (100%) rename {dircolors/.dircolors => bash/.config/dircolors}/solarized-light (100%) diff --git a/bash/.bashrc b/bash/.bashrc index 2e9ef4a..ef20d35 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -206,7 +206,7 @@ bashrc_customize_prompt() { } 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 eval "$(dircolors $ls_colors)" fi diff --git a/dircolors/.dircolors/solarized-dark b/bash/.config/dircolors/solarized-dark similarity index 100% rename from dircolors/.dircolors/solarized-dark rename to bash/.config/dircolors/solarized-dark diff --git a/dircolors/.dircolors/solarized-light b/bash/.config/dircolors/solarized-light similarity index 100% rename from dircolors/.dircolors/solarized-light rename to bash/.config/dircolors/solarized-light