From f08975628aad267b22545b05b182f0b79918d441 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 4 Jan 2022 02:11:04 +0300 Subject: [PATCH] .mc/mc.ext: Refactor opening/viewing zip files --- .mc/mc.ext | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.mc/mc.ext b/.mc/mc.ext index d95a106..a5312ac 100644 --- a/.mc/mc.ext +++ b/.mc/mc.ext @@ -78,8 +78,7 @@ regex/\.(cue|aac|ac3|ape|flac|wv|mka)$ # Python packages regex/\.(egg|whl)$ - Open=%cd %p/uzip:// - View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip + Include=zip #regex/i/\.tiff?$ # Open=xview %f @@ -116,6 +115,10 @@ include/msoffice-xlsx include/xml Open=%cd %p/xml:// +include/zip + Open=%cd %p/uzip:// + View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip + ### /phd # Midnight Commander 3.0 extension file -- 2.39.5