Update the character used in powerline
The code points have been updated in 53fbfe1, see
- 53fbfe15fe
- https://github.com/Lokaltog/powerline/issues/4
This commit is contained in:
parent
86a889ea08
commit
97849bd9b6
@ -26,7 +26,7 @@
|
|||||||
# A few utility functions to make it easy and re-usable to draw segmented prompts
|
# A few utility functions to make it easy and re-usable to draw segmented prompts
|
||||||
|
|
||||||
CURRENT_BG='NONE'
|
CURRENT_BG='NONE'
|
||||||
SEGMENT_SEPARATOR='⮀'
|
SEGMENT_SEPARATOR=''
|
||||||
|
|
||||||
# Begin a segment
|
# Begin a segment
|
||||||
# Takes two arguments, background and foreground. Both can be omitted,
|
# Takes two arguments, background and foreground. Both can be omitted,
|
||||||
@ -90,7 +90,7 @@ prompt_git() {
|
|||||||
zstyle ':vcs_info:*' formats ' %u%c'
|
zstyle ':vcs_info:*' formats ' %u%c'
|
||||||
zstyle ':vcs_info:*' actionformats '%u%c'
|
zstyle ':vcs_info:*' actionformats '%u%c'
|
||||||
vcs_info
|
vcs_info
|
||||||
echo -n "${ref/refs\/heads\//⭠ }${vcs_info_msg_0_}"
|
echo -n "${ref/refs\/heads\// }${vcs_info_msg_0_}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ prompt_hg() {
|
|||||||
# if working copy is clean
|
# if working copy is clean
|
||||||
prompt_segment green black
|
prompt_segment green black
|
||||||
fi
|
fi
|
||||||
echo -n $(hg prompt "⭠ {rev}@{branch}") $st
|
echo -n $(hg prompt " {rev}@{branch}") $st
|
||||||
else
|
else
|
||||||
st=""
|
st=""
|
||||||
rev=$(hg id -n 2>/dev/null | sed 's/[^-0-9]//g')
|
rev=$(hg id -n 2>/dev/null | sed 's/[^-0-9]//g')
|
||||||
@ -124,7 +124,7 @@ prompt_hg() {
|
|||||||
else
|
else
|
||||||
prompt_segment green black
|
prompt_segment green black
|
||||||
fi
|
fi
|
||||||
echo -n "⭠ $rev@$branch" $st
|
echo -n " $rev@$branch" $st
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user