Unify auto-fetch variables
This commit is contained in:
parent
b281c9949b
commit
665c107ce3
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ gitprompt () {
|
||||||
top=$(timeout 1 git rev-parse --show-toplevel 2>/dev/null)
|
top=$(timeout 1 git rev-parse --show-toplevel 2>/dev/null)
|
||||||
if [ -n "$top" ]
|
if [ -n "$top" ]
|
||||||
then
|
then
|
||||||
if [ "$SHELL_AUTOFETCH" -gt 0 ]; then
|
if [ "$SHELL_AUTOFETCH_TIMEOUT" -gt 0 ]; then
|
||||||
autofetch=$(git__fetch $top)
|
autofetch=$(git__fetch $top)
|
||||||
f=$((2-$autofetch))
|
f=$((2-$autofetch))
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue