Re: Bash not escaping escape sequences in directory names
From:
Andreas Schwab
Subject:
Re: Bash not escaping escape sequences in directory names
Date:
Sat, 22 Jan 2022 11:57:46 +0100
User-agent:
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
On Jan 21 2022, Lawrence Velázquez wrote:
> Depends what you consider to be an issue. Personally, I would be
> less than pleased if my whole terminal turned red just because I
> changed into a directory that happened to have a weird name.
Put $(tput sgr0) in PS1.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."