Updated Installation instructions

master
Martin Gondermann 12 years ago
parent 1f566c7be3
commit 0c88e9409d
  1. 10
      README.md

@ -43,12 +43,12 @@ The symbols are as follows:
## Install ## Install
1. Create the directory ``~/.bash`` if it does not exist (this location is customizable). 1. Clone this repository to your homedir e.g. ``git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt``
1. Move the file ``gitstatus.py`` into ``~/.bash/``. 1. configure your prompt and source the file ``gitprompt.sh`` from your ``~/.bashrc`` config file
1. Source the file ``gitprompt.sh`` from your ``~/.bashrc`` config file, and, configure your prompt in ``~/.bash/gitprompt.sh``. For this you have to set the variables PROMPT\_START and PROMPT\_END. * you can use ``GIT_PROMPT_START`` and ``GIT_PROMPT_END`` to tweak your prompt
1. You may also redefine the function ``setGitPrompt`` to adapt it to your needs (to change the order in which the information is displayed). * If you want to tweak the colors, currently you have to tweak it in the ``gitprompt.sh``
1. Go in a git repository and test it! 1. Go in a git repository and test it!
**Enjoy!** **Enjoy!**
[blog post]: http://sebastiancelis.com/2009/nov/16/zsh-prompt-git-users/ [blog post]: http://sebastiancelis.com/2009/nov/16/zsh-prompt-git-users/

Loading…
Cancel
Save