GIT_PROMPT_FETCH_TIMEOUT in .bashrc isn't be ignored anymore

Fixes #121
master
Martin Gondermann 10 years ago
parent a550921e75
commit 798667a7d5
  1. 4
      gitprompt.sh

@ -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

Loading…
Cancel
Save