Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/github/pr/102'
Browse files Browse the repository at this point in the history
  • Loading branch information
mika committed May 30, 2020
2 parents b50fe25 + 606e4c8 commit 9615015
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions etc/zsh/zshrc
Expand Up @@ -3494,6 +3494,11 @@ function simple-extract () {
USES_STDIN=true
USES_STDOUT=false
;;
*tar.zst)
DECOMP_CMD="tar --zstd -xvf -"
USES_STDIN=true
USES_STDOUT=false
;;
*tar)
DECOMP_CMD="tar -xvf -"
USES_STDIN=true
Expand Down Expand Up @@ -3539,6 +3544,11 @@ function simple-extract () {
USES_STDIN=true
USES_STDOUT=true
;;
*zst)
DECOMP_CMD="zstd -d -c -"
USES_STDIN=true
USES_STDOUT=true
;;
*)
print "ERROR: '$ARCHIVE' has unrecognized archive type." >&2
RC=$((RC+1))
Expand Down

0 comments on commit 9615015

Please sign in to comment.