Ticket #2857: add handling .zip extension.

Add 'shell/i/.zoo' to detect zip archive using .zip extension
in addition to 'type/i/^zip\ archive'.

Thanks ctmp1 <gvlatyshev@gmail.com> for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2013-12-05 09:57:48 +04:00
parent bc2f24b0e5
commit 031ab1711c

View File

@ -680,6 +680,11 @@ shell/i/.arc
Extract=arc x %f '*'
Extract (with flags)=I=%{Enter any Arc flags:}; if test -n "$I"; then arc x $I %f; fi
# zip
shell/i/.zip
Open=%cd %p/uzip://
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
# zip
type/i/^zip\ archive
Open=%cd %p/uzip://