Skip to content

Commit

Permalink
Changed the last line of gitprompt.sh to
Browse files Browse the repository at this point in the history
PROMPT_COMMAND=$PROMPT_COMMAND;setGitPrompt

This would allow previous PROMPT_COMMAND's too (for example for seting the window title).

Fixes #3
  • Loading branch information
magicmonty committed Jul 4, 2013
1 parent 43a4f3c commit d7f5d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitprompt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ function setGitPrompt() {
fi
}

PROMPT_COMMAND=setGitPrompt
PROMPT_COMMAND=$PROMPT_COMMAND;setGitPrompt

0 comments on commit d7f5d3b

Please sign in to comment.