Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function parse_git_branch {
- git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
- }
- export PS1="\n${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\] \$(parse_git_branch) \[\033[01;34m\]\w\[\033[00m\] \nλ "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement