diff --git a/src/config.rs b/src/config.rs index da2ae152..982913bd 100644 --- a/src/config.rs +++ b/src/config.rs @@ -35,9 +35,6 @@ lazy_static! { m.insert("cargo", Step::Cargo); m.insert("shell", Step::Shell); - #[cfg(windows)] - m.insert("powershell", Step::Powershell); - m }; } @@ -67,8 +64,6 @@ pub enum Step { Cargo, /// Don't update Powershell modules Shell, - /// Don't run shell updates (zplug, zr, oh-my-zsh, fisher, tmux) - Powershell, } impl Step { diff --git a/src/main.rs b/src/main.rs index ba2c8058..90c2bf73 100644 --- a/src/main.rs +++ b/src/main.rs @@ -121,7 +121,7 @@ fn run() -> Result<(), Error> { } let powershell = powershell::Powershell::new(); - let should_run_powershell = powershell.profile().is_some() && config.should_run(Step::Powershell); + let should_run_powershell = powershell.profile().is_some() && config.should_run(Step::Shell); #[cfg(windows)] execute(&mut report, "WSL", || windows::run_wsl_topgrade(run_type), true)?;