diff --git a/lua/custom/utils.lua b/lua/custom/utils.lua index 9aca987d..0e93ba80 100644 --- a/lua/custom/utils.lua +++ b/lua/custom/utils.lua @@ -10,12 +10,11 @@ local function collect_executables(start_dir) local fd_result = vim .system({ 'fd', - '--type', - 'x', + '.', + start_dir, '--exec', 'file', '{}', - start_dir, }, { text = true }) :wait()