Reset to default color (instead of black) before history number in prompt

This commit is contained in:
Peter J. Holzer 2022-09-10 18:33:41 +00:00
parent 1b129c74d7
commit a59264e149
1 changed files with 2 additions and 2 deletions

View File

@ -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: