Open g-viet opened 5 years ago
Tools:
Git completion:
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash > ~/.git-completion.bash curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh > ~/.git-prompt.bash # Source the git bash completion file in ~/.bashrc or ~/.bash_profile if [ -f ~/.git-completion.bash ]; then source ~/.git-completion.bash source ~/.git-prompt.bash GIT_PS1_SHOWDIRTYSTATE=true export PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ ' fi
Tools:
Git completion: