[konsole] [Bug 416981] Colorful PS1 is somewhat broken

Ahmad Samir bugzilla_noreply at kde.org
Wed Feb 5 21:15:51 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=416981

Ahmad Samir <a.samirh78 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |NOT A BUG

--- Comment #3 from Ahmad Samir <a.samirh78 at gmail.com> ---
Try:
PS1='\[\e[1m[\e[35m\]\u\[\e[97m\]@\[\e[34m\]\h \W\[\e[97m]\]$ \[\e[0m\]'

>From `man bash`:
\[     begin a sequence of non-printing characters, which could be used to
embed a terminal control sequence into the prompt
\]     end a sequence of non-printing characters

Also remove the "\" before "$".

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list