1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-18 05:40:07 +00:00

Mercurial-Bookmarks should also appear in the current foreground color.

This commit is contained in:
Dominik Ritter 2015-06-04 04:46:49 +02:00
parent bff8bbdb80
commit abed8905f4

View file

@ -382,7 +382,7 @@ function +vi-git-stash() {
function +vi-hg-bookmarks() {
if [[ -n "${hgbmarks[@]}" ]]; then
hook_com[hg-bookmark-string]=" $VCS_BOOKMARK_ICON ${hgbmarks[@]}"
hook_com[hg-bookmark-string]=" %F{$VCS_FOREGROUND_COLOR}$VCS_BOOKMARK_ICON${hgbmarks[@]}%f"
# And to signal, that we want to use the sting we just generated,
# set the special variable `ret' to something other than the default