Further optimizations on bash-git-prompt.rb

* converted multiple share.install to a single command
* optimized caveats