Created dir rc.d and moved/splited stuff from bashrc to rc.d/*

This commit is contained in:
Xavier Logerais (Numericable - Ingénierie Système)
2013-12-05 13:38:25 +01:00
parent ab3b20c12f
commit 919df7d554
5 changed files with 53 additions and 35 deletions

8
rc.d/colors Normal file
View File

@ -0,0 +1,8 @@
#!/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