From 5acf00ac41f711d4102d3c29e63fa705136f8f42 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 3 Feb 2015 22:12:53 -0500 Subject: bash: add dir_colors overrides --- .config/bash/aliases.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/bash/aliases.sh') diff --git a/.config/bash/aliases.sh b/.config/bash/aliases.sh index fe4f2c6..4b87332 100644 --- a/.config/bash/aliases.sh +++ b/.config/bash/aliases.sh @@ -6,7 +6,8 @@ # Set up colors and settings for ls/dir/vdir # ###################################################################### if [ -x "`which dircolors`" ]; then - eval "`dircolors -b`" + eval "$(dircolors -p | cat - "${XDG_CONFIG_HOME}/dir_colors" | + dircolors -b -)" alias ls='ls -1v --color=auto' alias dir='dir -v --color=auto' alias vdir='vdir -v--color=auto' -- cgit v1.2.3-54-g00ecf From 26c23840ee5780b8444423e74607187f000a0877 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 3 Feb 2015 22:13:07 -0500 Subject: bash: fix an old typo in aliases --- .config/bash/aliases.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/bash/aliases.sh') diff --git a/.config/bash/aliases.sh b/.config/bash/aliases.sh index 4b87332..28b9923 100644 --- a/.config/bash/aliases.sh +++ b/.config/bash/aliases.sh @@ -10,7 +10,7 @@ if [ -x "`which dircolors`" ]; then dircolors -b -)" alias ls='ls -1v --color=auto' alias dir='dir -v --color=auto' - alias vdir='vdir -v--color=auto' + alias vdir='vdir -v --color=auto' for xgrep in ${PATH//:/\/*grep }/*grep; do if [ -f "$xgrep" ]; then -- cgit v1.2.3-54-g00ecf