Fix name of powershell in guess_shell

This commit is contained in:
Thayne McCombs 2022-10-09 01:05:27 -06:00
parent c41d61eeda
commit 86c33492a7
1 changed files with 1 additions and 1 deletions

View File

@ -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"));
}