diff options
author | Timo Sand <timo.j.sand@gmail.com> | 2013-10-03 09:48:49 +0300 |
---|---|---|
committer | Timo Sand <timo.j.sand@gmail.com> | 2013-10-03 09:48:49 +0300 |
commit | 387de3a57e1927b1db210419b87e2404f8f809de (patch) | |
tree | d764fdf3d4857208df9b047a9f0c038da15423b3 | |
parent | 61e3951e4be2f496d8ce8022afc58817c06e5dee (diff) | |
download | zsh-387de3a57e1927b1db210419b87e2404f8f809de.tar.gz zsh-387de3a57e1927b1db210419b87e2404f8f809de.tar.bz2 zsh-387de3a57e1927b1db210419b87e2404f8f809de.zip |
Added '.war' extension to unzip
-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 23e86c593..6e26b54c0 100644 --- a/plugins/extract/extract.plugin.zsh +++ b/plugins/extract/extract.plugin.zsh @@ -52,7 +52,7 @@ function extract() { (*.xz) unxz "$1" ;; (*.lzma) unlzma "$1" ;; (*.Z) uncompress "$1" ;; - (*.zip) unzip "$1" -d $extract_dir ;; + (*.zip|*.war) unzip "$1" -d $extract_dir ;; (*.rar) unrar x -ad "$1" ;; (*.7z) 7za x "$1" ;; (*.deb) |