disable auth prompting on git 2.3+ - fixes #76

https://github.com/blog/1957-git-2-3-has-been-released
This commit is contained in:
Sindre Sorhus
2015-02-06 18:38:35 +07:00
parent 6178236316
commit f43ab97e1c

View File

@@ -101,6 +101,9 @@ prompt_pure_setup() {
# if output doesn't end with a newline # if output doesn't end with a newline
export PROMPT_EOL_MARK='' export PROMPT_EOL_MARK=''
# disable auth prompting on git 2.3+
export GIT_TERMINAL_PROMPT=0
prompt_opts=(cr subst percent) prompt_opts=(cr subst percent)
zmodload zsh/datetime zmodload zsh/datetime