mirror of
https://github.com/sharkdp/fd.git
synced 2024-09-28 13:01:30 +02:00
Fix name of powershell in guess_shell
This commit is contained in:
parent
c41d61eeda
commit
86c33492a7
@ -605,7 +605,7 @@ fn guess_shell() -> anyhow::Result<Shell> {
|
|||||||
} else {
|
} else {
|
||||||
// Assume powershell on windows
|
// Assume powershell on windows
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
return Ok(Shell::Powershell);
|
return Ok(Shell::PowerShell);
|
||||||
#[cfg(not(windows))]
|
#[cfg(not(windows))]
|
||||||
return Err(anyhow!("Unable to get shell from environment"));
|
return Err(anyhow!("Unable to get shell from environment"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user