fix: recent file lookup with wrong stat

This commit is contained in:
Noah Masur 2022-07-05 21:05:24 -04:00
parent 682acdc8ae
commit 9aad4efd27

View File

@ -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