Improved bash prompt
- improved matching of 'nothing to commit' message
- improved string building