diff options
| author | Robert Günzler <r@gnzler.io> | 2026-02-10 12:32:48 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-02-10 12:41:25 +0100 |
| commit | 63feeb9f369fc6176e85c1c2d8fcc863caad1946 (patch) | |
| tree | 41cd5d2d1ec36e74e464caab722cc9b460153f04 /bin/hibiki/prompt | |
| parent | 5bd0a4aca65ecb9818ef1285982d160b6b6ff665 (diff) | |
start new
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bin/hibiki/prompt')
| -rwxr-xr-x | bin/hibiki/prompt | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/bin/hibiki/prompt b/bin/hibiki/prompt deleted file mode 100755 index d23fc28..0000000 --- a/bin/hibiki/prompt +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -# make sure window title is set in terminals -SET_TERM_TITLE='\[\033]0;\u@\h:\w\007\]' - -if [ "$1" == "err" ]; then - color="\[$(tput setaf 1)\]" # red -else - color="\[$(tput setaf 10)\]" -fi -RESET="\[$(tput sgr0)\]" - -# count jobs -# shellcheck disable=SC2016 -JOBS='`[ \j -gt 0 ] && printf " ∆\j"`' - -# show git-bug tickets -# 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`' -BUGS='' - -# ❱⫶ -echo "⋮ ${SET_TERM_TITLE}${color}\w${RESET}${JOBS}${BUGS} ❯ " |