From 26af62039edc9d609b841504ec882d736e2b5373 Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Thu, 22 Feb 2024 03:00:11 -0800 Subject: [PATCH] fix: wrong default shell on Windows --- crates/bws/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bws/src/main.rs b/crates/bws/src/main.rs index 0a640ea93..0b714e65b 100644 --- a/crates/bws/src/main.rs +++ b/crates/bws/src/main.rs @@ -681,7 +681,7 @@ async fn process_commands() -> Result<()> { let shell = if cfg!(unix) { shell.unwrap_or_else(|| "sh".to_string()) } else if cfg!(windows) { - shell.unwrap_or_else(|| "pwsh".to_string()) + shell.unwrap_or_else(|| "powershell".to_string()) } else { unreachable!(); };