diff options
-rw-r--r-- | etc/functions/extract | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/functions/extract b/etc/functions/extract index 2156dab..53fdc87 100644 --- a/etc/functions/extract +++ b/etc/functions/extract @@ -4,9 +4,7 @@ if [[ -f ${1} ]] { case ${1} in - *.(tar.bz2|tbz2)) tar xvjf ${*} ;; - *.(tar.gz|tgz)) tar xvzf ${*} ;; - *.tar.lzma) unlzma ${1} | tar xv ;; + *.tar*) tar xvf ${*} ;; *.ace) unace e ${1} ;; *.rar) unrar x ${1} ;; *.deb) ar -x ${1} ;; |