bbe4ea54fdd6235cb2194cd2d423cf5ae37a2125
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #2139 from deiga/patch-1
Added '.war' extension to unzip
Diff
1diff --git a/plugins/extract/extract.plugin.zsh b/plugins/extract/extract.plugin.zsh
2index 23e86c593bbab0545bb19f46d6a6795c1c3e3b33..7352e5bad8c7ea60340ed295ee2cdcc1f394f1d9 100644
3--- a/plugins/extract/extract.plugin.zsh
4+++ b/plugins/extract/extract.plugin.zsh
5@@ -52,7 +52,7 @@ function extract() {
6 (*.xz) unxz "$1" ;;
7 (*.lzma) unlzma "$1" ;;
8 (*.Z) uncompress "$1" ;;
9- (*.zip) unzip "$1" -d $extract_dir ;;
10+ (*.zip|*.war|*.jar) unzip "$1" -d $extract_dir ;;
11 (*.rar) unrar x -ad "$1" ;;
12 (*.7z) 7za x "$1" ;;
13 (*.deb)