From 5b9ed4f4f6b6548f89b3d31284fd8d7de9f798f4 Mon Sep 17 00:00:00 2001 From: "Alexander Gehrke (crater2150)" Date: Tue, 5 Jan 2016 03:48:34 +0100 Subject: [PATCH] module "color": fix DIR_COLORS location --- modules/color/init | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/color/init b/modules/color/init index b561a40..af5561b 100644 --- a/modules/color/init +++ b/modules/color/init @@ -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