From 9ac19e4ba03164da435427946e88ba361b4d048b Mon Sep 17 00:00:00 2001 From: Sergio Alejandro Vargas Date: Fri, 13 Aug 2021 17:55:50 -0500 Subject: [PATCH] GIT_TERMINAL_PROMPT=0 See: #57 Fixes: #4, #32, #33, #59, #61 --- lua/paq.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/paq.lua b/lua/paq.lua index d117e35..c3c429a 100644 --- a/lua/paq.lua +++ b/lua/paq.lua @@ -61,7 +61,7 @@ local function call_proc(process, args, cwd, cb) stderr:open(log) handle = uv.spawn( process, - {args = args, cwd = cwd, stdio = {nil, nil, stderr}}, + {args=args, cwd=cwd, stdio={nil, nil, stderr}, env={'GIT_TERMINAL_PROMPT=0'}}, vim.schedule_wrap(function(code) uv.fs_close(log) stderr:close()