From 9ad2d990aed1d1e1cb557e4ed827ad01d6f108b1 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Thu, 31 May 2018 09:19:07 +0300 Subject: [PATCH] Fix ZSH breaking the terminal --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()?; }