Skip to content

Commit d7f5d3b

Browse files
committed
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
1 parent 43a4f3c commit d7f5d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitprompt.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,4 @@ function setGitPrompt() {
159159
fi
160160
}
161161

162-
PROMPT_COMMAND=setGitPrompt
162+
PROMPT_COMMAND=$PROMPT_COMMAND;setGitPrompt

0 commit comments

Comments
 (0)