Skip to content

Commit

Permalink
fix: silence unzip command in ziextract (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdoster committed Dec 30, 2023
1 parent 9cf5b17 commit 71764bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zinit-install.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ ziextract() {

case "${${ext:+.$ext}:-$file}" in
((#i)*.zip)
→zinit-extract() { →zinit-check unzip "$file" || return 1; command unzip -o "$file"; }
→zinit-extract() { →zinit-check unzip "$file" || return 1; command unzip -qq -o "$file"; }
;;
((#i)*.rar)
→zinit-extract() { →zinit-check unrar "$file" || return 1; command unrar x "$file"; }
Expand Down

0 comments on commit 71764bf

Please sign in to comment.