rename LP_UNTRACKED to LP_MARK_UNTRACKED

This commit is contained in:
nojhan 2012-08-16 15:51:01 +02:00
parent 38c4362836
commit af629fe960
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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