plugin/extract: `shfmt`

pull/2095/head
John D Pell 2022-02-17 21:55:53 -08:00 committed by John D Pell
parent f076319a96
commit 32523a5e21
1 changed files with 61 additions and 59 deletions

View File

@ -53,7 +53,10 @@ EOU
*.tar.Z) tar "x${verbose}Zf" "$1" -C "$filedirname/$targetdirname" ;;
*.bz2) bunzip2 "$1" ;;
*.deb) dpkg-deb -x${verbose} "$1" "${1:0:-4}" ;;
*.pax.gz) gunzip "$1"; set -- "$@" "${1:0:-3}" ;;
*.pax.gz)
gunzip "$1"
set -- "$@" "${1:0:-3}"
;;
*.gz) gunzip "$1" ;;
*.pax) pax -r -f "$1" ;;
*.pkg) pkgutil --expand "$1" "${1:0:-4}" ;;
@ -74,4 +77,3 @@ EOU
# Shorten extract
alias xt='extract'