fix: use inflating binaries instead of deflating in unarchive function

main
Eugen Blattner 3 years ago committed by Jeff Widman
parent 1ff1099d05
commit 3da67271b9

@ -34,10 +34,10 @@ fi
# here, we check for dropin/multi-threaded replacements # here, we check for dropin/multi-threaded replacements
# this should eventually be moved to modules/archive/init.zsh # this should eventually be moved to modules/archive/init.zsh
# as a global alias # as a global alias
if (( $+commands[pigz] )); then if (( $+commands[unpigz] )); then
_gzip_bin='pigz' _gzip_bin='unpigz'
else else
_gzip_bin='gzip' _gzip_bin='gunzip'
fi fi
if (( $+commands[pixz] )); then if (( $+commands[pixz] )); then
@ -46,12 +46,12 @@ else
_xz_bin='xz' _xz_bin='xz'
fi fi
if (( $+commands[lbzip2] )); then if (( $+commands[lbunzip2] )); then
_bzip2_bin='lbzip2' _bzip2_bin='lbunzip2'
elif (( $+commands[pbzip2] )); then elif (( $+commands[pbunzip2] )); then
_bzip2_bin='pbzip2' _bzip2_bin='pbunzip2'
else else
_bzip2_bin='bzip2' _bzip2_bin='bunzip2'
fi fi
_zstd_bin='zstd' _zstd_bin='zstd'

Loading…
Cancel
Save