From 18743884ce9ea6a65a3939d63f2781e53bc243b4 Mon Sep 17 00:00:00 2001 From: hanez Date: Thu, 10 Sep 2026 11:44:27 +0200 Subject: [PATCH] home.sh update --- .zsh/functions.d/home.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zsh/functions.d/home.sh b/.zsh/functions.d/home.sh index 23b44d21..baa6accf 100644 --- a/.zsh/functions.d/home.sh +++ b/.zsh/functions.d/home.sh @@ -52,7 +52,8 @@ function home() { current_date=$(date +%s) echo "Current date: $current_date" time_diff=$(($current_date-$last_update)) - echo "Time difference: $time_diff seconds." + time_diff=$(($time_diff / 60 )) + echo "Time difference: $time_diff minutes." if (( time_diff > 86400 )) || [ "$2" = "f" ]; then echo "Updating home configuration..." if git pull; then