Skip to content

Commit eb6dde4

Browse files
committed
fix(change-dir): cd command concatenation
1 parent 418fc97 commit eb6dde4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/actions/change-dir.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function M.fn(input_cwd, with_open)
4848
end
4949

5050
local function cd(global, path)
51-
vim.cmd((global and "cd" or "lcd") .. vim.fn.fnameescape(path))
51+
vim.cmd((global and "cd " or "lcd ") .. vim.fn.fnameescape(path))
5252
end
5353

5454
local function should_change_dir()

0 commit comments

Comments
 (0)