b57118bd370666feef670e233e077e40408c92b1

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #2065 from prudprud/master

Replace no unicode glyph on hexa string

Diff

 1diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme
 2index c7a59ad0d67951960f1a9edb4544bd1da6aa849e..8b5f4ef7ab1968e6dc6de86cbed5ac0816f2ad74 100644
 3--- a/themes/agnoster.zsh-theme
 4+++ b/themes/agnoster.zsh-theme
 5@@ -26,7 +26,7 @@
 6 # A few utility functions to make it easy and re-usable to draw segmented prompts
 7 
 8 CURRENT_BG='NONE'
 9-SEGMENT_SEPARATOR=''
10+SEGMENT_SEPARATOR='\u2b80'
11 
12 # Begin a segment
13 # Takes two arguments, background and foreground. Both can be omitted,
14@@ -90,7 +90,7 @@ prompt_git() {
15     zstyle ':vcs_info:*' formats ' %u%c'
16     zstyle ':vcs_info:*' actionformats '%u%c'
17     vcs_info
18-    echo -n "${ref/refs\/heads\// }${vcs_info_msg_0_}"
19+    echo -n "${ref/refs\/heads\//\u2b60 }${vcs_info_msg_0_}"
20   fi
21 }
22 
23@@ -110,7 +110,7 @@ prompt_hg() {
24 				# if working copy is clean
25 				prompt_segment green black
26 			fi
27-			echo -n $(hg prompt " {rev}@{branch}") $st
28+			echo -n $(hg prompt "\u2b60 {rev}@{branch}") $st
29 		else
30 			st=""
31 			rev=$(hg id -n 2>/dev/null | sed 's/[^-0-9]//g')
32@@ -124,7 +124,7 @@ prompt_hg() {
33 			else
34 				prompt_segment green black
35 			fi
36-			echo -n " $rev@$branch" $st
37+			echo -n "\u2b60 $rev@$branch" $st
38 		fi
39 	fi
40 }