diff --git a/src/steps/zsh.rs b/src/steps/zsh.rs index f6bfca02..c8afcd82 100644 --- a/src/steps/zsh.rs +++ b/src/steps/zsh.rs @@ -124,10 +124,7 @@ pub fn run_zinit(ctx: &ExecutionContext) -> Result<()> { print_separator("zinit"); - let cmd = format!( - "source {} && zinit self-update && zinit update --all -p", - zshrc.display(), - ); + let cmd = format!("source {} && zinit self-update && zinit update --all", zshrc.display()); ctx.run_type() .execute(zsh) .args(["-i", "-c", cmd.as_str()]) @@ -142,7 +139,7 @@ pub fn run_zi(ctx: &ExecutionContext) -> Result<()> { print_separator("zi"); - let cmd = format!("source {} && zi self-update && zi update --all -p", zshrc.display(),); + let cmd = format!("source {} && zi self-update && zi update --all", zshrc.display()); ctx.run_type().execute(zsh).args(["-i", "-c", &cmd]).status_checked() }