On Mär 20 2022, Michaelll Lee wrote:

> 1) $ PS1='---Test \\ \e[0m ---\\$ '

Read the manual about non-printing characters in the prompt.

https://www.gnu.org/software/bash/manual/html_node/Controlling-the-Prompt.html

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to