Skip to content

Commit

Permalink
Merge pull request #321 from cameronr/windows
Browse files Browse the repository at this point in the history
Fix #293
  • Loading branch information
rmagatti authored Jul 8, 2024
2 parents d5f5c18 + 6b12b3f commit cecbe0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/auto-session/session-lens/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ SessionLens.search_session = function(custom_opts)
return { "fdfind", "--type", "f", "--color", "never" }
elseif 1 == vim.fn.executable "find" and vim.fn.has "win32" == 0 then
return { "find", ".", "-type", "f" }
elseif 1 == vim.fn.executable "where" then
return { "where", "/r", ".", "*" }
elseif 1 == vim.fn.executable "cmd" and vim.fn.has "win32" == 1 then
return { "cmd", "/C", "dir", "/b" }
end
end)()

Expand Down

0 comments on commit cecbe0d

Please sign in to comment.