Konsole command -the text starts from the same line overwriting the prompt
Try enclosing each of the colour escape sequences in escaped square brackets.
ex: PS1='\[\e[0;31m\]\t\[\e[m\]-\[\e[0;32m\]\u\[\e[m\]@\[\e[0;36m\]\h\[\e[m\]:\[\e[0;23m\]\w\[\e[m\e[0;32m\]\$\[\e[m\]'
No comments:
Post a Comment