summaryrefslogtreecommitdiff
path: root/mac/.config/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/zsh')
-rw-r--r--mac/.config/zsh/scripts.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mac/.config/zsh/scripts.zsh b/mac/.config/zsh/scripts.zsh
index 5443b4c..f92a6c4 100644
--- a/mac/.config/zsh/scripts.zsh
+++ b/mac/.config/zsh/scripts.zsh
@@ -346,7 +346,7 @@ function fetch_git_repos_status() {
update_time() {
timestamp_file="${HOME}/.cache/gitreposupdate"
current_time=$(date +%s)
- if [[ -f "$timestamp_file" ]] && (($(cat "$timestamp_file") > (current_time - 86400))); then
+ if [[ -f "$timestamp_file" ]] && (($(cat "$timestamp_file") > (current_time - 21600))); then
return 1 # No update needed
else
echo "$current_time" >"$timestamp_file"