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