Delinitiate varname from unicode symbol
This commit is contained in:
parent
047c71f8b5
commit
e62be41d6e
|
@ -35,8 +35,8 @@ prompt_git_dirty() {
|
||||||
local r=$(command git rev-list --right-only --count HEAD...@'{u}' 2>/dev/null)
|
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)
|
local l=$(command git rev-list --left-only --count HEAD...@'{u}' 2>/dev/null)
|
||||||
|
|
||||||
(( ${r:-0} > 0 )) && echo -n " %F{green}$r⇣"
|
(( ${r:-0} > 0 )) && echo -n " %F{green}${r}⇣"
|
||||||
(( ${l:-0} > 0 )) && echo -n " %F{yellow}$l⇡"
|
(( ${l:-0} > 0 )) && echo -n " %F{yellow}${l}⇡"
|
||||||
echo -n '%f'
|
echo -n '%f'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue