summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThayne McCombs <astrothayne@gmail.com>2022-10-09 01:05:27 -0600
committerThayne McCombs <astrothayne@gmail.com>2022-10-09 01:05:27 -0600
commit86c33492a7d56991b8d96cc66521252acec8cf3d (patch)
tree688eb97260b331df22b8ba2f353391a62600f2ca
parentc41d61eeda2f5b165270ec811761069293a3eca2 (diff)
Fix name of powershell in guess_shell
-rw-r--r--src/cli.rs2
1 files changed, 1 insertions, 1 deletions
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<Shell> {
} 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"));
}