Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- parse_git_branch() {
- git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
- }
- PS1="\n\[\033[94m\]\w\[\033[0m\]\$(parse_git_branch)\[\033[00m\]\n\[\033[1;35m\]❯\[\033[1;33m\] \[\033[0m\]"
- export PS1
Add Comment
Please, Sign In to add comment