Permalink
Browse files

Update plugins/extract/extract.plugin.zsh

Cause unrar to preserve directory structure. (Why is only unrar different?!)
  • Loading branch information...
ripdog committed Feb 15, 2013
1 parent fce68bb commit 2264c51355542df082c72468eea2dfa5a8e54ada
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/extract/extract.plugin.zsh
@@ -53,7 +53,7 @@ function extract() {
(*.lzma) unlzma "$1" ;;
(*.Z) uncompress "$1" ;;
(*.zip) unzip "$1" -d $extract_dir ;;
- (*.rar) unrar e -ad "$1" ;;
+ (*.rar) unrar x -ad "$1" ;;
(*.7z) 7za x "$1" ;;
(*.deb)
mkdir -p "$extract_dir/control"

0 comments on commit 2264c51

Please sign in to comment.