diff --git a/lib/functions.zsh b/lib/functions.zsh index 6f5d015f..b29d3e48 100644 --- a/lib/functions.zsh +++ b/lib/functions.zsh @@ -29,7 +29,7 @@ function extract() { *.tar.xz) tar xvJf $1;; *.tar.lzma) tar --lzma -xvf $1;; *.bz2) bunzip $1;; - *.rar) unrar $1;; + *.rar) unrar x $1;; *.gz) gunzip $1;; *.tar) tar xvf $1;; *.tbz2) tar xvjf $1;;