diff options
author | Ben Sima <ben@bsima.me> | 2021-01-05 13:55:39 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-01-05 13:55:39 -0500 |
commit | e36efd4269235feb976e089ce4bef08d0d76f4e3 (patch) | |
tree | 31496ce377fea49114c1ee1b1c763a1862ec48b2 /Biz | |
parent | ea6de12de002c2569a163d4be47d0a692d60d526 (diff) |
dev: put biz in the shell prompt
Diffstat (limited to 'Biz')
-rw-r--r-- | Biz/Bild/ShellHook.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Biz/Bild/ShellHook.sh b/Biz/Bild/ShellHook.sh index 31028dd..79a20f4 100644 --- a/Biz/Bild/ShellHook.sh +++ b/Biz/Bild/ShellHook.sh @@ -116,6 +116,6 @@ function run-ci() { } alias ci="time run-ci" -export PS1='\n$(printf "%3.*s" $? $?)> ' +export PS1='\n$(r=$? && [ $r -eq 0 ] && printf "biz" || printf "%3.*s" $r $r)> ' help |