Skip to content

Commit

Permalink
Merge pull request #5664 from epage/ps
Browse files Browse the repository at this point in the history
fix(complete)!: Dont assume powershell on Windows
  • Loading branch information
epage committed Aug 11, 2024
2 parents dcdfda7 + 775688e commit 02a2855
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions clap_complete/src/dynamic/shells/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ impl Shell {
pub fn from_env() -> Option<Shell> {
if let Some(env_shell) = std::env::var_os("SHELL") {
Shell::from_shell_path(env_shell)
} else if cfg!(windows) {
Some(Shell::Powershell)
} else {
None
}
Expand Down

0 comments on commit 02a2855

Please sign in to comment.