fix: silence unzip command in ziextract (#614)

This commit is contained in:
vladislav doster 2023-12-29 18:39:09 -06:00 committed by GitHub
parent 9cf5b17198
commit 71764bf2ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"; }