diff --git a/src/main.rs b/src/main.rs index 86813e1f..ed3ee126 100644 --- a/src/main.rs +++ b/src/main.rs @@ -83,8 +83,8 @@ fn run() -> Result<()> { if let Ok(zsh) = which("zsh") { if home_path(".zplug").exists() { Command::new(&zsh) - .arg("-ic") - .arg("zplug update") + .arg("-c") + .arg("source ~/.zshrc && zplug update") .spawn()? .wait()?; }