Merge pull request #219 from vitaly-zdanevich/master

clarified section about installation
master
Martin Gondermann 10 years ago
commit e3bf510317
  1. 11
      README.md

@ -109,14 +109,15 @@ cd ~
git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt
```
- Source the file `gitprompt.sh` from `~/.bashrc`
Add to the `~/.bashrc`:
```
source ~/.bash-git-prompt/gitprompt.sh
GIT_PROMPT_ONLY_IN_REPO=1
```
### Configuration
### All configs for .bashrc
```sh
# some other config in .bashrc
# gitprompt configuration
# Set config variables first
GIT_PROMPT_ONLY_IN_REPO=1

Loading…
Cancel
Save