summaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-10 17:53:13 +0100
committerDavid Robillard <d@drobilla.net>2020-11-10 17:53:13 +0100
commitc243efbd725d97d0f0584a0217626bfe103c41bb (patch)
treecbced9b9039e022d8078a21ec19afa554b2fbe6f /bash
parent6cb3f0d1feaf0ce0b3081a03dc68516f82b4602e (diff)
downloaddotfiles-c243efbd725d97d0f0584a0217626bfe103c41bb.tar.gz
dotfiles-c243efbd725d97d0f0584a0217626bfe103c41bb.tar.bz2
dotfiles-c243efbd725d97d0f0584a0217626bfe103c41bb.zip
Load ls_colors implementation on Arch
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 7bb7790..be81c7f 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -53,6 +53,11 @@ if [ -x /usr/bin/dircolors ]; then
alias egrep='egrep --color=auto'
fi
+# load ls_colors configuration if it exists (Arch)
+if [ -f /usr/share/LS_COLORS/dircolors.sh ]; then
+ . /usr/share/LS_COLORS/dircolors.sh
+fi
+
# ever seen a monochrome xterm? I sure haven't
if [ "$TERM" = "xterm" ]; then
export TERM=xterm-256color