Martin Goldhahn
d22e1b495e
keep old prompt on non-git repository folders
13 years ago
Martin Gondermann
c869a349f1
PROMPT_COMMAND=$PROMPT_COMMAND;setGitPrompt did not work correctly (fixes Issue #13 )
13 years ago
Martin Gondermann
d7f5d3bb17
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
13 years ago
Martin Gondermann
43a4f3c9ee
Fixed Issue #6 : Definig $PROMPT_START $PROMPT_END out of gitprompt.sh
...
It is now possible to override PROMPT_START and PROMPT_END by exporting the variables GIT_PROMPT_START and GIT_PROMPT_END
13 years ago
Martin Goldhahn
f36da50f68
use 24h time format
13 years ago
Martin Goldhahn
56e9e243a3
script works for any installation directory
13 years ago
Marcin Sztolcman
ca5f2c7f28
use __GIT_STATUS_CMD instead of __GIT_PROMPT_DIR
13 years ago
Sylvain Defresne
dee331fb47
Prevent pollution of the global namespace & properly quote variables
13 years ago
Miguel Duarte
6be8b0b273
Fetch new remote revisions every other GIT_PROMPT_FETCH_TIMEOUT minutes
...
(5 is the default)
13 years ago
shohag
32d3de91d7
Adding virtualenv with git prompt
13 years ago
Carlo Sciolla
8993e65177
Enable custom __GIT_PROMPT_DIR as an env var
...
I'd like to directly point bash to where I checked out the source code.
With this change I can customize at least the base directory with an environment variable while the default value is still there.
13 years ago
Martin Gondermann
6f4c272200
Initial commit
13 years ago