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

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Feb 6 22:39:22 GMT 2020


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

--- Comment #4 from a.taha.baki at outlook.com ---
(In reply to Ahmad Samir from comment #3)
> 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 "$".

Thanks, it worked.

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


More information about the konsole-devel mailing list