Show current git repository as terminal title
MIT License
Show the name of the current/working git repository + branch as terminal title. If you like to work with terminal tabs, this repository is meant for you! It will increase your workflow and provide an overview of the active repository. That's all!
.git
subdirectory is foundPROMPT_COMMAND
cd
command to change the titleSimply add the following lines to your .bashrc
or .bash_profile
depending on
the defaults for your OS. Make sure to point to the executable bash script. For
example, source $HOME/projects/smith/smith.sh
source [path/to/project/smith.sh]
MIT