Skip to content

Commit

Permalink
fix: SessionDelete now uses native vim cmds (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
Komil484 authored Sep 3, 2024
1 parent c9c11ee commit 6e9c992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/persisted/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function M.delete(opts)
M.fire("DeletePre")
vim.schedule(function()
M.stop()
vim.fn.system("rm " .. e(session))
vim.fn.delete(vim.fn.expand(session))
end)
M.fire("DeletePost")
end
Expand Down

0 comments on commit 6e9c992

Please sign in to comment.