This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# PS1 Git magic | |
# | |
# Original: https://gist.github.com/623142 | |
# | |
# To enable save as .bash_prompt in $HOME and add to .bashrc: | |
# . ~/.bash_prompt | |
# | |
# Pedro Melo, <[email protected]> |