Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Enable current git branch to bash promt
- # nano /root/.bashrc
- if [ -f /etc/bash_completion.d/git ]; then
- . /etc/bash_completion.d/git
- fi
- PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w $(__git_ps1 "(%s)")\$ '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement