From e62be41d6ec081b25eb36ef756e474eab92cbb8e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 12 Dec 2015 17:19:24 -0500 Subject: [PATCH] Delinitiate varname from unicode symbol --- zsh/prompt.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/prompt.zsh b/zsh/prompt.zsh index 3f7e646c..972dd2cd 100644 --- a/zsh/prompt.zsh +++ b/zsh/prompt.zsh @@ -35,8 +35,8 @@ prompt_git_dirty() { local r=$(command git rev-list --right-only --count HEAD...@'{u}' 2>/dev/null) local l=$(command git rev-list --left-only --count HEAD...@'{u}' 2>/dev/null) - (( ${r:-0} > 0 )) && echo -n " %F{green}$r⇣" - (( ${l:-0} > 0 )) && echo -n " %F{yellow}$l⇡" + (( ${r:-0} > 0 )) && echo -n " %F{green}${r}⇣" + (( ${l:-0} > 0 )) && echo -n " %F{yellow}${l}⇡" echo -n '%f' }