Skip to content

[Windows10] Set powershell (7) as default terminal

Songli Yu edited this page Jan 11, 2023 · 1 revision
if vim.fn.has('win32') == 1 then
  vim.cmd([[let &shell = '"C:/Program Files/PowerShell/7/pwsh.exe"']])
end