On Dez 17 2021, Jack Pearson wrote:

>   PS1='$(tput sgr0)' # emit exit_attribute_mode capability string

Non-printable characters in the prompt must be bracketed by \[ \].

PS1='\[$(tput sgr0)\]'

-- 
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."

  • Line is corrup... Jack Pearson
    • Re: Line ... Andreas Schwab
      • Re: L... Jack Pearson via Bug reports for the GNU Bourne Again SHell

Reply via email to