Files
scripts/config/.profile.dircolor

15 lines
293 B
Plaintext
Executable File

if [ -n "$PS1" ]; then
#
# Number of colors and standard colors.
#
c_num=$(tput colors)
#
# Load better colors for ls.
#
if [ -x $(which /bin/dircolors) ] && [ $c_num -ge 256 ] && [ -f ~/.dir_colors ]; then
eval $(dircolors ~/.dir_colors)
fi
fi