config-bash/rc.d/colors

9 lines
214 B
Plaintext
Raw Normal View History

#!/bin/bash
# Enable colors for ls, etc. Prefer ~/.dir_colors #64489
if [[ -f ~/.dir_colors ]]; then
eval `dircolors -b ~/.dir_colors`
elif [[ -f /etc/DIR_COLORS ]]; then
eval `dircolors -b /etc/DIR_COLORS`
fi