78dba754d183804079474aa2b1390bd96cb67583

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

Message

Merge pull request #1872 from gdetrez/new-powerline-range

Update the character used from powerline

Diff

 1diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme
 2index a9de8c84ea8c8765edd5594df1d6eb9463fb22ab..e652938588ab95ab9b790e37cd3047f7998e4070 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=''
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\// }${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 " {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 " $rev@$branch" $st
38 		fi
39 	fi
40 }