commit 7f131a02ca23452ab176c383fee0635782cd2d4c
parent c98d73fc073b914f74ea618d61dd279262c6edeb
Author: hhvn <dev@hhvn.uk>
Date: Sun, 2 Jan 2022 19:05:42 +0000
.rcrc: remove '^sig' from $status
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.rcrc b/.rcrc
@@ -22,7 +22,7 @@ fn __prompt {
if (~ $__prompt_exitcodes(2) ()) {
# only one
__prompt_exit_colour $__prompt_exitcodes(1)
- printf '%s ' $__prompt_exitcodes(1)
+ printf '%s ' $__prompt_exitcodes(1) | sed 's/^sig//'
} else {
tput setaf 3
printf '['
@@ -35,7 +35,7 @@ fn __prompt {
__prompt_print_bar = 1
}
__prompt_exit_colour $__prompt_exitcode
- printf '%s' $__prompt_exitcode
+ printf '%s' $__prompt_exitcode | sed 's/^sig//'
}
tput setaf 3
printf '] '