bashprompt.js is a framework and a command line tool to create your own and full featured prompt for bash.