From a3ae1e4abc099f26942b0708f7baadb8eaca06a7 Mon Sep 17 00:00:00 2001 From: hanez Date: Wed, 10 Sep 2025 01:28:44 +0200 Subject: [PATCH] Fix to make it compatible with FeeBSD. --- .zsh/functions.d/home.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zsh/functions.d/home.sh b/.zsh/functions.d/home.sh index 842f1ad3..58125686 100644 --- a/.zsh/functions.d/home.sh +++ b/.zsh/functions.d/home.sh @@ -47,7 +47,7 @@ function home() { up) cd ~ if test -f .lastupdate; then - last_update=$(stat -c %Y .lastupdate) + last_update=$(date -r .lastupdate +%s) echo "Last configuration update: $last_update" current_date=$(date +%s) echo "Current date: $current_date"