summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-06-11 12:59:03 +0200
committerRobert Günzler <r@gnzler.io>2021-06-11 12:59:03 +0200
commit6117286493904d3d4068605923816c3e081903c4 (patch)
tree05f662d699cc9d685e810d1435a0c653de9597a3 /bin
parentda4cb088f783fd2c16a53c51c2fdf5d2b58080c8 (diff)
bin/hibiki/prompt: use iosevka unicode, instead of icons from mdi
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hibiki/prompt6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/hibiki/prompt b/bin/hibiki/prompt
index e28336d..4109817 100755
--- a/bin/hibiki/prompt
+++ b/bin/hibiki/prompt
@@ -11,9 +11,11 @@ fi
 RESET="\[$(tput sgr0)\]"
 
 # count jobs
-JOBS='`[ \j -gt 0 ] && printf " 󰘙 \j"`'
+# shellcheck disable=SC2016
+JOBS='`[ \j -gt 0 ] && printf " ∆\j"`'
 
 # show git-bug tickets
-BUGS='`exit=$?; git rev-parse >/dev/null 2>&1 && printf " 󰨰 $(git bug ls --status=open | wc -l)"; exit $exit`'
+# shellcheck disable=SC2016
+BUGS='`exit=$?; git rev-parse >/dev/null 2>&1 && { bugn=$(git bug ls --status=open | wc -l); [ $bugn -gt 0 ] && printf " ⚑${bugn}"; }; exit $exit`'
 
 echo "${SET_TERM_TITLE}${color}\w${RESET}${JOBS}${BUGS} ❱ "