|
|
@ -4,7 +4,8 @@ export LSCOLORS="Gxfxcxdxbxegedabagacad"
|
|
|
|
#export LS_COLORS
|
|
|
|
#export LS_COLORS
|
|
|
|
|
|
|
|
|
|
|
|
# Enable ls colors
|
|
|
|
# Enable ls colors
|
|
|
|
if [ "$DISABLE_LS_COLORS" != "true" ] then
|
|
|
|
if [ "$DISABLE_LS_COLORS" != "true" ]
|
|
|
|
|
|
|
|
then
|
|
|
|
# Find the option for using colors in ls, depending on the version: Linux or BSD
|
|
|
|
# Find the option for using colors in ls, depending on the version: Linux or BSD
|
|
|
|
ls --color -d . &>/dev/null 2>&1 && alias ls='ls --color=tty' || alias ls='ls -G'
|
|
|
|
ls --color -d . &>/dev/null 2>&1 && alias ls='ls --color=tty' || alias ls='ls -G'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|