summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bashrc/main.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc/main.sh b/bashrc/main.sh
index 3da1b0b..3ecae9f 100644
--- a/bashrc/main.sh
+++ b/bashrc/main.sh
@@ -19,7 +19,7 @@ _self_update() {
fi
if hash timeout >/dev/null 2>&1; then
- timeout 5s git fetch origin 2>/dev/null
+ timeout 3s git fetch origin 2>/dev/null
if [[ "$?" == "124" ]]; then
echo -e "\033[31m*\033[0m timeout: git fetch origin"
return