DOC: update installation/configuration instructions

master
Maksim Rakitin 7 years ago
parent 9c07945385
commit f8d4d3911b
  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