Skip to content

Commit 9ac3e95

Browse files
authored
fix(job): escape cwd path (#479)
1 parent 0c31c39 commit 9ac3e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/plenary/job.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ local function expand(path)
6565
return assert(uv.fs_realpath(path), string.format("Path must be valid: %s", path))
6666
else
6767
-- TODO: Probably want to check that this is valid here... otherwise that's weird.
68-
return vim.fn.expand(path, true)
68+
return vim.fn.expand(vim.fn.escape(path, "$"), true)
6969
end
7070
end
7171

0 commit comments

Comments
 (0)