diff --git a/lua/artio/builtins.lua b/lua/artio/builtins.lua index e35f1a8..6645e99 100644 --- a/lua/artio/builtins.lua +++ b/lua/artio/builtins.lua @@ -16,7 +16,8 @@ end local builtins = {} -local findprg = "fd -H -p -a -t f --color=never" +local findprg = vim.fn.executable("fd") == 1 and "fd -H -p -a -t f --color=never --" + or "find . -type f -iregex '.*$*.*'" ---@class artio.picker.files.Props : artio.Picker.config ---@field findprg? string