From 86c33492a7d56991b8d96cc66521252acec8cf3d Mon Sep 17 00:00:00 2001 From: Thayne McCombs Date: Sun, 9 Oct 2022 01:05:27 -0600 Subject: [PATCH] Fix name of powershell in guess_shell --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index 0194518..ffea92d 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -605,7 +605,7 @@ fn guess_shell() -> anyhow::Result { } else { // Assume powershell on windows #[cfg(windows)] - return Ok(Shell::Powershell); + return Ok(Shell::PowerShell); #[cfg(not(windows))] return Err(anyhow!("Unable to get shell from environment")); }