module "color": fix DIR_COLORS location
This commit is contained in:
parent
d22d166e2c
commit
5b9ed4f4f6
|
@ -37,8 +37,8 @@ if [[ "`tput colors`" == "256" ]] || [[ "`tput colors`" == "88" ]] ; then
|
|||
fi
|
||||
usercolor="%{${FX[bold]}${FG[$usercolor_base]}%}"
|
||||
# 8-color-term
|
||||
if [ -e /etc/DIR_COLORS_256 ] ; then
|
||||
eval "$(dircolors /etc/DIR_COLORS_256)"
|
||||
if [ -e /etc/DIR_COLORS.256 ] ; then
|
||||
eval "$(dircolors /etc/DIR_COLORS.256)"
|
||||
elif [ -e /etc/DIR_COLORS ]; then
|
||||
eval "$(dircolors /etc/DIR_COLORS)"
|
||||
fi
|
||||
|
@ -47,10 +47,10 @@ else
|
|||
|
||||
gitdirty="%{${fg[yellow]}%}"
|
||||
gitstaged="%{${fg[green]}%}"
|
||||
gitclean="%{$rightcolor%}"
|
||||
vcs_revision="%{${fg[250]}%}"
|
||||
gitclean="%{${fg[white]}%}"
|
||||
vcs_revision="%{${fg_bold[black]}%}"
|
||||
|
||||
exitcolor="%{$gitdirty%}"
|
||||
exitcolor="$gitdirty"
|
||||
rpscolor="%{$fg_bold[black]}%}"
|
||||
|
||||
if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
|
||||
|
|
Loading…
Reference in a new issue