From c243efbd725d97d0f0584a0217626bfe103c41bb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 10 Nov 2020 17:53:13 +0100 Subject: Load ls_colors implementation on Arch --- bash/.bashrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bash') 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 -- cgit v1.2.1