about summary refs log tree commit diff stats
path: root/bash
diff options
context:
space:
mode:
authorCase Duckworth2022-01-15 23:09:46 -0600
committerCase Duckworth2022-01-15 23:09:46 -0600
commit445f6a747657044328a7cf2fb763b9806df84060 (patch)
tree448869d0dd3f0de65366dcdd3f5d069e66859f40 /bash
parentAdd emacs.service (diff)
downloadetc-445f6a747657044328a7cf2fb763b9806df84060.tar.gz
etc-445f6a747657044328a7cf2fb763b9806df84060.zip
Check for existence of dircolors
Diffstat (limited to 'bash')
-rw-r--r--bash/dircolors.bash6
1 files changed, 5 insertions, 1 deletions
diff --git a/bash/dircolors.bash b/bash/dircolors.bash index 597ee95..10967ec 100644 --- a/bash/dircolors.bash +++ b/bash/dircolors.bash
@@ -1 +1,5 @@
1eval $(dircolors --sh "${XDG_CONFIG_HOME:-$HOME/.config}/dircolors") 1DIRCOLORS="${XDG_CONFIG_HOME:-$HOME/.config/dircolors}"
2
3if [ -f "$DIRCOLORS" ]; then
4 eval $(dircolors --sh "$DIRCOLORS");
5fi