From d757a9a17bc93d5c7ea0876ed5052616cc64ba17 Mon Sep 17 00:00:00 2001 From: Lyle McKarns Date: Tue, 21 Feb 2023 01:03:31 -0500 Subject: [PATCH] feat(powershell): Adding quite options to powershell exec Customized profiles can/do break in non-standard terminals, increase execution time, and usually don't help in this context. I'm suggesting a change to an "embedded" or "script" style launching of powershell to accommodate this. --- autoload/SpaceVim/layers/lang/powershell.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/SpaceVim/layers/lang/powershell.vim b/autoload/SpaceVim/layers/lang/powershell.vim index 63d2f8f74..f8fd45cea 100644 --- a/autoload/SpaceVim/layers/lang/powershell.vim +++ b/autoload/SpaceVim/layers/lang/powershell.vim @@ -15,7 +15,7 @@ endfunction function! SpaceVim#layers#lang#powershell#config() abort - call SpaceVim#plugins#repl#reg('powershell', 'powershell') + call SpaceVim#plugins#repl#reg('powershell', 'powershell -NoLogo -NoProfile -NonInteractive') call SpaceVim#plugins#runner#reg_runner('powershell', 'powershell %s') call SpaceVim#mapping#space#regesit_lang_mappings('powershell', function('s:language_specified_mappings')) endfunction