We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833072d commit 7dcbaf3Copy full SHA for 7dcbaf3
lua/nvim-tree/actions/fs/trash.lua
@@ -42,7 +42,7 @@ function M.remove(node)
42
-- trashes a path (file or folder)
43
local function trash_path(on_exit)
44
local need_sync_wait = utils.is_windows
45
- local job = vim.fn.jobstart(M.config.trash.cmd .. " " .. vim.fn.fnameescape(node.absolute_path), {
+ local job = vim.fn.jobstart(M.config.trash.cmd .. " " .. vim.fn.shellescape(node.absolute_path), {
46
detach = not need_sync_wait,
47
on_exit = on_exit,
48
on_stderr = on_stderr,
0 commit comments