fix bash/zsh prompt

without this change, it would count invisible escape chars
towards the length of the prompt and thus wrap too early
in ugly ways