From af629fe960409a506478464f60d74b347591b0a2 Mon Sep 17 00:00:00 2001 From: nojhan Date: Thu, 16 Aug 2012 15:51:01 +0200 Subject: [PATCH] rename LP_UNTRACKED to LP_MARK_UNTRACKED --- liquid.theme | 2 +- liquidprompt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/liquid.theme b/liquid.theme index a8617b8..b821eb6 100644 --- a/liquid.theme +++ b/liquid.theme @@ -17,7 +17,7 @@ if [[ "$(locale -k LC_CTYPE | sed -n 's/^charmap="\(.*\)"/\1/p')" == *"UTF-8"* ] LP_MARK_HG="☿" # prompt mark in hg repositories LP_MARK_SVN="‡" # prompt mark in svn repositories LP_MARK_GIT="±" # prompt mark in git repositories - LP_UNTRACKED="*" # if git has untracked files + LP_MARK_UNTRACKED="*" # if git has untracked files else # If charset is anything else, fallback to ASCII chars LP_MARK_BATTERY="b" diff --git a/liquidprompt b/liquidprompt index b47840c..966aa70 100755 --- a/liquidprompt +++ b/liquidprompt @@ -206,7 +206,7 @@ LP_MARK_PROXY=${LP_MARK_PROXY:-"↥"} LP_MARK_HG=${LP_MARK_HG:-"☿"} LP_MARK_SVN=${LP_MARK_SVN:-"‡"} LP_MARK_GIT=${LP_MARK_GIT:-"±"} -LP_UNTRACKED=${LP_UNTRACKED:-"*"} +LP_MARK_UNTRACKED=${LP_MARK_UNTRACKED:-"*"} LP_COLOR_PATH=${LP_COLOR_PATH:-$BOLD_WHITE} LP_COLOR_PATH_ROOT=${LP_COLOR_PATH_ROOT:-$BOLD_YELLOW} @@ -587,7 +587,7 @@ _lp_git_branch_color() if [[ -z "$has_untracked" ]] ; then has_untracked="" else - has_untracked="$LP_UNTRACKED" + has_untracked="$LP_MARK_UNTRACKED" fi local has_commit