Add bash prompt file using tput for color.

The problem with my last prompt was that on different machines it did
not look correct (color wise). Now use the portable tput library to
decide what colors to actually write.

This also fixes the overwrite error in the bash prompt due to brackets
not being properly escaped.