Don't count the colors as part of the prompt.

Turns out, adding special sequences of characters in the prompt increases the
length of it and fucks with bash and readline and stuff.

You just need to enclose the sequence in `\[` and `\]`.

<http://unix.stackexchange.com/questions/71007/how-to-customize-ps1-properly>