commit b3f56d478852bb617e449e642723c9bda470e540
parent 420bc8e7067cac2382510baa1206418d686499ff
Author: hhvn <dev@hhvn.uk>
Date: Tue, 4 Jan 2022 23:04:27 +0000
.rcrc: don't need extra invis char
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.rcrc b/.rcrc
@@ -105,7 +105,7 @@ fn __prompt {
printf '%s' `{pwd | sed 's~' ^ $home ^ '~\~~'}
# end
- printf '$\001 \002'
+ printf '$ '
__prompt_tput sgr0
}
@@ -115,7 +115,7 @@ fn prompt {
# https://www.vidarholen.net/contents/blog/?p=878
__prompt_tput setaf 14
printf '%%'
- tr '\0' ' ' < /dev/zero | head -c `{tput cols} | sed 's/.//'
+ tr '\0' ' ' < /dev/zero | head -c `{tput cols}
printf '\r'
# set X11 title