Skip to content

Commit

Permalink
revert: revert 614 to remove the -p option (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC authored Feb 24, 2024
1 parent a43b03d commit c6e3f0a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/steps/zsh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()])
Expand All @@ -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()
}

Expand Down

0 comments on commit c6e3f0a

Please sign in to comment.