Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- which git
- ls /usr/local/etc/bash_completion.d/
- mdfind git-completion.bash
- mdfind git-prompt.sh
- vi ~/.bashrc
- ```
- source /usr/local/etc/bash_completion.d/git-prompt.sh
- source /usr/local/etc/bash_completion.d/git-completion.bash
- GIT_PS1_SHOWDIRTYSTATE=true
- export PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\n\$ '
- ```
- vi ~/.bash_profile
- ```
- source ~/.bashrc
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement