mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
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:
parent
bc2f24b0e5
commit
031ab1711c
@ -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://
|
||||
|
Loading…
Reference in New Issue
Block a user