Skip to content

Commit e0658e7

Browse files
authored
fix: check for legacy powershell on windows (#267)
Co-authored-by: Denzel <>
1 parent a0a7fad commit e0658e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/cmake-tools/terminal.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ local is_fish_shell = function()
552552
end
553553

554554
local is_power_shell = function()
555-
return vim.o.shell == "pwsh"
555+
return vim.o.shell == "pwsh" or vim.o.shell == "powershell"
556556
end
557557

558558
---creates command that handles all of our post command stuff for on_exit handling

0 commit comments

Comments
 (0)