fish: Add icons to jj fish prompt

This commit is contained in:
Daniel Lundin 2024-11-19 22:20:34 +01:00
parent 0069a95e5d
commit 49bf77b97f
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

@ -101,12 +101,9 @@
"\e[0m", "\e[0m",
separate( separate(
" ", " ",
surround("\e[0;35m", "\e[0m", bookmarks.join(":")), surround("\e[0;1;95m ", "\e[0;2;3m", change_id.shortest()),
separate( surround("\e[0;35m󰸕 ", "\e[0m", bookmarks.join("")),
" ", surround("\e[0;34m ", "\e[0;2;3m", commit_id.shortest()),
surround("\e[0;1;95m", "\e[0;2;3m", change_id.shortest()),
surround("\e[0;34m", "\e[0;2;3m", commit_id.shortest()),
),
if(conflict, "󰂭"), if(conflict, "󰂭"),
if(empty, ""), if(empty, ""),
if(divergent, ""), if(divergent, ""),