diff options
author | ripdog <mitchell@ferguson.geek.nz> | 2013-02-15 16:57:36 +0000 |
---|---|---|
committer | ripdog <mitchell@ferguson.geek.nz> | 2013-02-15 16:57:36 +0000 |
commit | 2264c51355542df082c72468eea2dfa5a8e54ada (patch) | |
tree | 62ea9bc5bc3f553c7efee5cefc3d57e2c012c60d /plugins | |
parent | fce68bbba0be99cfd49f9e46572b2d12d0a86d45 (diff) | |
download | zsh-2264c51355542df082c72468eea2dfa5a8e54ada.tar.gz zsh-2264c51355542df082c72468eea2dfa5a8e54ada.tar.bz2 zsh-2264c51355542df082c72468eea2dfa5a8e54ada.zip |
Update plugins/extract/extract.plugin.zsh
Cause unrar to preserve directory structure. (Why is only unrar different?!)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/extract/extract.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/extract/extract.plugin.zsh b/plugins/extract/extract.plugin.zsh index 5c125e98b..23e86c593 100644 --- a/plugins/extract/extract.plugin.zsh +++ b/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" |