From 9aad4efd27c99ef347409de3ab62984099d48e39 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Tue, 5 Jul 2022 21:05:24 -0400 Subject: [PATCH] fix: recent file lookup with wrong stat --- modules/shell/fish/functions/recent.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shell/fish/functions/recent.fish b/modules/shell/fish/functions/recent.fish index d3d1c40..622a2b5 100644 --- a/modules/shell/fish/functions/recent.fish +++ b/modules/shell/fish/functions/recent.fish @@ -1,4 +1,4 @@ -set vimfile (fd -t f --exec stat -f "%m%t%N" | sort -nr | cut -f2 | fzf) +set vimfile (fd -t f --exec /usr/bin/stat -f "%m%t%N" | sort -nr | cut -f2 | fzf) and set vimfile (echo $vimfile | tr -d '\r') and commandline -r "vim $vimfile" and commandline -f execute