Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function parse_git_branch_and_add_brackets {
- git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ \[\1\]/'
- }
- PS1="\u@\h:\w\[\033[0;32m\]\$(parse_git_branch_and_add_brackets)\[\033[0m\]\$ "
- export PATH=/usr/local/Trolltech/Qt-4.8.2/bin:$PATH
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement