Fix line wrapping errors caused by custom PS1

Bash requires \[\] around non-printable characters. Not having them made the prompt break badly, as the line length calculation was off for when to wrap the command line.