diff options
| author | Shai Coleman <shai.coleman@cashanalytics.com> | 2024-05-03 20:43:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-03 21:43:53 +0200 |
| commit | 668ca3a32dae5ff5d164fc3be565f1e2ece248db (patch) | |
| tree | 5bf5f764c582c8d160fc6e1b034046b16413a4a2 /plugins | |
| parent | 529f77a344de5fd53ea2235547cefd5d15d02723 (diff) | |
| download | zsh-668ca3a32dae5ff5d164fc3be565f1e2ece248db.tar.gz zsh-668ca3a32dae5ff5d164fc3be565f1e2ece248db.tar.bz2 zsh-668ca3a32dae5ff5d164fc3be565f1e2ece248db.zip | |
fix(extract): `zst` now extracts as expected (#12395)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/extract/extract.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/extract/extract.plugin.zsh b/plugins/extract/extract.plugin.zsh index 80ca50c50..1c7599195 100644 --- a/plugins/extract/extract.plugin.zsh +++ b/plugins/extract/extract.plugin.zsh @@ -87,7 +87,7 @@ EOF builtin cd -q control; extract ../control.tar.* builtin cd -q ../data; extract ../data.tar.* builtin cd -q ..; command rm *.tar.* debian-binary ;; - (*.zst) unzstd "$full_path" ;; + (*.zst) unzstd --stdout "$full_path" > "${file:t:r}" ;; (*.cab|*.exe) cabextract "$full_path" ;; (*.cpio|*.obscpio) cpio -idmvF "$full_path" ;; (*.zpaq) zpaq x "$full_path" ;; |
