From 30df96208f139d11015a3697ddf6efbdde2f3edb Mon Sep 17 00:00:00 2001 From: "YUKI \"Piro\" Hiroshi" Date: Wed, 31 Aug 2016 11:15:45 +0900 Subject: [PATCH] Fix order of commands for the .bashrc GIT_PROMPT_ONLY_IN_REPO=1 must be done before gitprompt.sh is loaded. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f89a596..93df352d 100644 --- a/README.md +++ b/README.md @@ -111,8 +111,8 @@ git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --d Add to the `~/.bashrc`: ``` - source ~/.bash-git-prompt/gitprompt.sh GIT_PROMPT_ONLY_IN_REPO=1 + source ~/.bash-git-prompt/gitprompt.sh ``` ### All configs for .bashrc