From 30ac84ecac23dac55f1d74e05276583d2fe8de32 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Thu, 3 Apr 2025 08:53:00 -0400 Subject: [PATCH] fix: Fixes find latest function. --- zsh/config/functions/find-latest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/config/functions/find-latest b/zsh/config/functions/find-latest index 0395e59..470d9ec 100755 --- a/zsh/config/functions/find-latest +++ b/zsh/config/functions/find-latest @@ -3,5 +3,5 @@ # Find the last modified file in a directory. function find-latest() { local dir=$1 - echo "$(find $dir -maxdepth 1 -mindepth 1 -type f -ctime 30 | sort -nr | head -1)" + echo "$(find $dir -maxdepth 1 -mindepth 1 -type f | sort -nr | head -1)" }