bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash not escaping escape sequences in directory names


From: Lawrence Velázquez
Subject: Re: Bash not escaping escape sequences in directory names
Date: Sat, 22 Jan 2022 13:26:13 -0500
User-agent: Cyrus-JMAP/3.5.0-alpha0-4585-ga9d9773056-fm-20220113.001-ga9d97730

On Sat, Jan 22, 2022, at 5:57 AM, Andreas Schwab wrote:
> 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.

It was a rhetorical example.  I don't actually use bash as my
interactive shell.

-- 
vq



reply via email to

[Prev in Thread] Current Thread [Next in Thread]