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
# If the current directory is a git repository, this displays [branch_name] and, | |
# if there are uncommitted changes, an asterisk. | |
# Example: | |
# ~/projects/my_project[master*]: | |
# I should also point out this uses my own hot pink & teal shell colour scheme (best viewed on white background). | |
# Change the colours if you don't like pretty things. | |
function parse_git_dirty { |