This commit is contained in:
Mark Philpot 2017-05-25 08:35:21 +00:00 committed by GitHub
commit f2cbc54928

View file

@ -43,8 +43,7 @@ CURRENT_BG='NONE'
# This is defined using a Unicode escape sequence so it is unambiguously readable, regardless of # This is defined using a Unicode escape sequence so it is unambiguously readable, regardless of
# what font the user is viewing this source code in. Do not replace the # what font the user is viewing this source code in. Do not replace the
# escape sequence with a single literal character. # escape sequence with a single literal character.
# Do not change this! Do not make it '\u2b80'; that is the old, wrong code point. SEGMENT_SEPARATOR='⮀'
SEGMENT_SEPARATOR=$'\ue0b0'
} }
# Begin a segment # Begin a segment
@ -90,7 +89,7 @@ prompt_git() {
local PL_BRANCH_CHAR local PL_BRANCH_CHAR
() { () {
local LC_ALL="" LC_CTYPE="en_US.UTF-8" local LC_ALL="" LC_CTYPE="en_US.UTF-8"
PL_BRANCH_CHAR=$'\ue0a0' #  PL_BRANCH_CHAR='⭠' # 
} }
local ref dirty mode repo_path local ref dirty mode repo_path
repo_path=$(git rev-parse --git-dir 2>/dev/null) repo_path=$(git rev-parse --git-dir 2>/dev/null)