diff options
author | David Robillard <d@drobilla.net> | 2020-11-10 17:53:13 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-10 17:53:13 +0100 |
commit | c243efbd725d97d0f0584a0217626bfe103c41bb (patch) | |
tree | cbced9b9039e022d8078a21ec19afa554b2fbe6f /bash | |
parent | 6cb3f0d1feaf0ce0b3081a03dc68516f82b4602e (diff) | |
download | dotfiles-c243efbd725d97d0f0584a0217626bfe103c41bb.tar.gz dotfiles-c243efbd725d97d0f0584a0217626bfe103c41bb.tar.bz2 dotfiles-c243efbd725d97d0f0584a0217626bfe103c41bb.zip |
Load ls_colors implementation on Arch
Diffstat (limited to 'bash')
-rw-r--r-- | bash/.bashrc | 5 |
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 |