Fix ZSH breaking the terminal

This commit is contained in:
Roey Darwish Dror
2018-05-31 09:19:07 +03:00
parent d67a60d0f3
commit 9ad2d990ae

View File

@@ -83,8 +83,8 @@ fn run() -> Result<()> {
if let Ok(zsh) = which("zsh") { if let Ok(zsh) = which("zsh") {
if home_path(".zplug").exists() { if home_path(".zplug").exists() {
Command::new(&zsh) Command::new(&zsh)
.arg("-ic") .arg("-c")
.arg("zplug update") .arg("source ~/.zshrc && zplug update")
.spawn()? .spawn()?
.wait()?; .wait()?;
} }