From d7f5d3bb1721f52e13a3cc7874be6a920d5fd73b Mon Sep 17 00:00:00 2001 From: Martin Gondermann Date: Thu, 4 Jul 2013 11:24:05 +0200 Subject: [PATCH] Changed the last line of gitprompt.sh to PROMPT_COMMAND=$PROMPT_COMMAND;setGitPrompt This would allow previous PROMPT_COMMAND's too (for example for seting the window title). Fixes #3 --- gitprompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitprompt.sh b/gitprompt.sh index 10e14023..1715a964 100644 --- a/gitprompt.sh +++ b/gitprompt.sh @@ -159,4 +159,4 @@ function setGitPrompt() { fi } -PROMPT_COMMAND=setGitPrompt +PROMPT_COMMAND=$PROMPT_COMMAND;setGitPrompt