diff options
author | Frank Behrens <fbehrens@gmail.com> | 2014-04-18 11:26:06 +0200 |
---|---|---|
committer | ncanceill <nicolas.canceill@ens-cachan.org> | 2014-05-26 12:15:20 +0200 |
commit | 6fc241b0d2f4690f7fd00f26eb91045a04c05fbd (patch) | |
tree | f23cd94fc8b3e0490f4c579e8eadce5e96aaa5de /plugins/extract | |
parent | 1ad1c52797e99c1060301e55cb726e290a06d063 (diff) | |
download | zsh-6fc241b0d2f4690f7fd00f26eb91045a04c05fbd.tar.gz zsh-6fc241b0d2f4690f7fd00f26eb91045a04c05fbd.tar.bz2 zsh-6fc241b0d2f4690f7fd00f26eb91045a04c05fbd.zip |
extract plugin will unzip *.sublime-package files
Diffstat (limited to 'plugins/extract')
-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 7352e5bad..a6e16ddf7 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|*.war|*.jar) unzip "$1" -d $extract_dir ;; + (*.zip|*.war|*.jar|*.sublime-package) unzip "$1" -d $extract_dir ;; (*.rar) unrar x -ad "$1" ;; (*.7z) 7za x "$1" ;; (*.deb) |