From 8ec9a50965ccd34d504db86f09c580edfcff0c0f Mon Sep 17 00:00:00 2001 From: WindSoilder Date: Thu, 27 Apr 2023 06:22:53 +0800 Subject: fix: add `-f` to `mv` to avoid errors when updating --- lua/nvim-treesitter/shell_command_selectors.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/nvim-treesitter/shell_command_selectors.lua b/lua/nvim-treesitter/shell_command_selectors.lua index de44ffa1c..0479956f1 100644 --- a/lua/nvim-treesitter/shell_command_selectors.lua +++ b/lua/nvim-treesitter/shell_command_selectors.lua @@ -213,7 +213,7 @@ function M.select_mv_cmd(from, to, cwd) return { cmd = "mv", opts = { - args = { from, to }, + args = { "-f", from, to }, cwd = cwd, }, } -- cgit v1.2.3-70-g09d2