/gitprompt

A Bash prompt with integrated git status.

Primary LanguageShell

gitprompt -- A Bash prompt which integrates git status.

Project status

This project is complete in the sense that it works.

Installation

To install gitprompt, first cd to a suitable directory where you want to install it. Let's say you want to install it in your home directory, so just type:

$ cd
$ git clone https://www.github.com/enfors/gitprompt

To run it, run the following commands in your Bash prompt:

$ cd gitprompt
$ . gitprompt.sh

If you want it all the time, add the following to your .profile or .bashrc:

. ~/gitprompt/gitprompt.sh

Happy Hacking!