diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/functions/extract | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/functions/extract b/etc/functions/extract index a690a90..9312678 100644 --- a/etc/functions/extract +++ b/etc/functions/extract @@ -4,15 +4,15 @@ if [[ -f $1 ]] { case $1 in - *.(tar.bz2|bz2)) tar xvjf $* ;; + *.(tar.bz2|tbz2)) tar xvjf $* ;; *.(tar.gz|tgz)) tar xvzf $* ;; *.tar.lzma) unlzma $1 | tar xv ;; *.ace) unace e $1 ;; *.rar) unrar x $1 ;; *.deb) ar -x $1 ;; - *.bz2) bzip2 -d $1 ;; + *.bz2) bunzip2 $1 ;; *.lzh) lha x $1 ;; - *.gz) gunzip -d $1 ;; + *.gz) gunzip $1 ;; *.tar) tar xvf $* ;; *.zip) unzip $1 ;; *.Z) uncompress $1 ;; |