/Git-Term

Terminal Addon for Git

Primary LanguageShell

Git-Term

Terminal Addon for Git Repositories

Installation

  1. Add this following line in your ~/.bashrc
# Git-Term Configurations
source ~/.term/config.sh

And run following command in your terminal

$ bash install.sh

That's it now whenever you'll change your directory to git repository. You'll see branch name appended with the PS1

Also see Terminal hotness by @mdo for better approach for the same feature. That is awesome.