##git-completion.bash
In ~/.bashrc
, add the following:
source ~/Downloads/git-completion.bash
##git-prompt.sh
In ~/.bashrc
, add the following:
PS1=$PS1'\[\033[0;35m\]$(__git_ps1 " (%s)")\[\033[00m\]'
GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWCOLORHINTS=true
GIT_PS1_SHOWUPSTREAM=auto,verbose
source ~/code/random/git-prompt.sh # CHANGE THIS to match where you downloaded the script
##findsymbol.sh Copy this script to a directory where you have multiple libraries. Use this as: ./findsymbol.sh