diff --git a/README.md b/README.md index f4c751f..8c8e7f3 100644 --- a/README.md +++ b/README.md @@ -43,12 +43,12 @@ The symbols are as follows: ## Install -1. Create the directory ``~/.bash`` if it does not exist (this location is customizable). -1. Move the file ``gitstatus.py`` into ``~/.bash/``. -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. -1. You may also redefine the function ``setGitPrompt`` to adapt it to your needs (to change the order in which the information is displayed). +1. Clone this repository to your homedir e.g. ``git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt`` +1. configure your prompt and source the file ``gitprompt.sh`` from your ``~/.bashrc`` config file + * you can use ``GIT_PROMPT_START`` and ``GIT_PROMPT_END`` to tweak your prompt + * 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! **Enjoy!** -[blog post]: http://sebastiancelis.com/2009/nov/16/zsh-prompt-git-users/ \ No newline at end of file +[blog post]: http://sebastiancelis.com/2009/nov/16/zsh-prompt-git-users/