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
Merge pull request #330 from SUSE-Cloud/master

fix bash/zsh prompt