Merge pull request #404 from mrakitin/doc_update_config_instructions

DOC: update installation/configuration instructions
master
Martin Gondermann 7 years ago committed by GitHub
commit 116e948f24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      README.md

@ -107,14 +107,13 @@ fi
- Clone this repository to your home directory. - Clone this repository to your home directory.
```sh ```sh
cd ~ git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt --depth=1
git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --depth=1
``` ```
Add to the `~/.bashrc`: Add to the `~/.bashrc`:
``` ```
GIT_PROMPT_ONLY_IN_REPO=1 GIT_PROMPT_ONLY_IN_REPO=1
source ~/.bash-git-prompt/gitprompt.sh source ~/.bash-git-prompt/gitprompt.sh
``` ```
### install for the fish shell ### install for the fish shell

Loading…
Cancel
Save