Pinned Loading
-
Git Branch on Terminal with Colors
Git Branch on Terminal with Colors 1parse_git_branch() {2git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
3}
45export PS1="\[\e[01;32m\]\u@\h : \[\e[01;34m\]\w \[\e[01;31m\]\$(parse_git_branch)\[\e[00m\] $ "
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.





