Fix ZSH breaking the terminal
This commit is contained in:
@@ -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()?;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user