config-bash/rc.d/colors
Xavier Logerais (Numericable - Ingénierie Système) 919df7d554 Created dir rc.d and moved/splited stuff from bashrc to rc.d/*
2013-12-05 13:38:25 +01:00

9 lines
214 B
Bash

#!/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