{"name":"gist: 847963","desc":"Git branch display in console [~/.bashrc]","actor":"bartimaeus","url":"https://gist.github.com/847963","snippet":"# Show git status and branch\nfunction parse_git_dirty {\n  [[ $(git status 2> /dev/null | tail -n1) != \"nothing to commit (working directory clean)\" ]] && echo \"*\"","actor_gravatar":"de02655070c9a0e746945cdd1faad8b9","action":"create"}