I hereby claim:
- I am larry-actwo on github.
- I am larry_peertec (https://keybase.io/larry_peertec) on keybase.
- I have a public key ASCXPS3Nd-gtaKGJqQjgO7RXaMvvXJK8uoTS_nnbgvJ-0go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # checks if branch has something pending | |
| function parse_git_dirty() { | |
| git diff --quiet --ignore-submodules HEAD 2>/dev/null; [ $? -eq 1 ] && echo "*" | |
| } | |
| # gets the current git branch | |
| function parse_git_branch() { | |
| git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/\1$(parse_git_dirty)/" |