From c53a972255586d570b691fd46ab94f8e7a14dd23 Mon Sep 17 00:00:00 2001 From: khodorchenko Date: Tue, 17 Dec 2024 05:15:35 +0400 Subject: [PATCH] fix darwin paths #336 --- fn/-z4h-gen-init-darwin-paths | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fn/-z4h-gen-init-darwin-paths b/fn/-z4h-gen-init-darwin-paths index 862dd55..5dbe41b 100644 --- a/fn/-z4h-gen-init-darwin-paths +++ b/fn/-z4h-gen-init-darwin-paths @@ -1,7 +1,7 @@ #!/usr/bin/env zsh local -a stat -local files=(/usr/libexec/path_helper /etc/{,man}paths{,.d} /etc/paths.d/*(N) /etc/manpaths.d/*(N)) +local files=(/usr/libexec/path_helper) zstat -A stat +mtime -- $files 2>/dev/null || return local script