ByteEngine
Thursday, August 5, 2010
Bash prompt line wrapping fix
Insert [ and ] around the ANSI escape sequences:
Original: PS1="ne[0;34m][u@h]e[0;36m][W]e[0;m] ??? "
Modified: PS1="n
[
e[0;34m][u@h]e[0;36m][W]e[0;m]
]
??? "
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment