src/world/fs_skeleton/etc/profile.d/dircolors.sh

9 lines
232 B
Bash

# Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.
if [ -f "/etc/dircolors" ]
then eval $(dircolors -b /etc/dircolors)
fi
if [ -f "$HOME/.dircolors" ]
then eval $(dircolors -b $HOME/.dircolors)
fi