Skip to content

Commit

Permalink
Better to remove where from session lens entirely
Browse files Browse the repository at this point in the history
I was wrong, it has to be a windows command given the param format but
it returns full paths rather than filenames so removing it.
  • Loading branch information
= committed Jul 8, 2024
1 parent 6de8d79 commit 6b12b3f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lua/auto-session/session-lens/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ 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" and vim.fn.has "win32" == 0 then
logger.info('where')
return { "where", "/r", ".", "*" }
elseif 1 == vim.fn.executable "cmd" and vim.fn.has "win32" == 1 then
return { "cmd", "/C", "dir", "/b" }
end
Expand Down

0 comments on commit 6b12b3f

Please sign in to comment.