From a59264e149e9cb4cf9205035c2a9126fdb6ac040 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sat, 10 Sep 2022 18:33:41 +0000 Subject: [PATCH] Reset to default color (instead of black) before history number in prompt --- .znewterm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.znewterm b/.znewterm index fd05948..deb2c2b 100644 --- a/.znewterm +++ b/.znewterm @@ -45,8 +45,8 @@ fi case "$TERM" in xterm*|screen) - # indicated exit status by smiley (suggested by Stig Sandbeck Mathisen) - smiley="%b%(0?,%{%}:-),%{%}:-()%{%}%B" + # indicate exit status by smiley (suggested by Stig Sandbeck Mathisen) + smiley="%b%(0?,%{%}:-),%{%}:-()%{%}%B" prompt="%{]0;%m(%l)%n %~%}%B%m:%~ %T $smiley %h%# %b" unsetopt PRINT_EXIT_VALUE # force backspace key to send BS: