summaryrefslogtreecommitdiff
path: root/.config/bash/aliases.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/bash/aliases.sh')
-rw-r--r--.config/bash/aliases.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/bash/aliases.sh b/.config/bash/aliases.sh
index fe4f2c6..28b9923 100644
--- a/.config/bash/aliases.sh
+++ b/.config/bash/aliases.sh
@@ -6,10 +6,11 @@
# 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'
+ alias vdir='vdir -v --color=auto'
for xgrep in ${PATH//:/\/*grep }/*grep; do
if [ -f "$xgrep" ]; then