From f580cc6bcf746db118288d8fe4147bad16fd6792 Mon Sep 17 00:00:00 2001 From: Veit Heller Date: Sun, 23 Nov 2014 12:13:47 +0100 Subject: [PATCH] Updated extract function to use unrar --- bash_profile | 2 +- zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bash_profile b/bash_profile index 8265f09..1748d35 100644 --- a/bash_profile +++ b/bash_profile @@ -43,7 +43,7 @@ extract(){ *.tar.gz) tar xzf $1 ;; *.tar.xz) tar xzf $1 ;; *.bz2) bunzip2 $1 ;; - *.rar) rar x $1 ;; + *.rar) unrar x $1 ;; *.gz) gunzip $1 ;; *.tar) tar xf $1 ;; *.tbz2) tar xjf $1 ;; diff --git a/zshrc b/zshrc index 653e1c7..5638673 100644 --- a/zshrc +++ b/zshrc @@ -81,7 +81,7 @@ extract(){ *.tar.gz) tar xzf $1 ;; *.tar.xz) tar xzf $1 ;; *.bz2) bunzip2 $1 ;; - *.rar) rar x $1 ;; + *.rar) unrar x $1 ;; *.gz) gunzip $1 ;; *.tar) tar xf $1 ;; *.tbz2) tar xjf $1 ;;