|
|
|
|
@ -284,7 +284,9 @@ function git_prompt_config() |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# fetch remote revisions every other $GIT_PROMPT_FETCH_TIMEOUT (default 5) minutes |
|
|
|
|
GIT_PROMPT_FETCH_TIMEOUT=${1-5} |
|
|
|
|
if [[ -z "$GIT_PROMPT_FETCH_TIMEOUT" ]]; then |
|
|
|
|
GIT_PROMPT_FETCH_TIMEOUT="5" |
|
|
|
|
fi |
|
|
|
|
if [[ -z "$__GIT_STATUS_CMD" ]] ; then # if GIT_STATUS_CMD not defined.. |
|
|
|
|
git_prompt_dir |
|
|
|
|
if ! gp_maybe_set_envar_to_path __GIT_STATUS_CMD "$__GIT_PROMPT_DIR/gitstatus.sh" ; then |
|
|
|
|
|