From: Oleg Broytman Date: Mon, 3 Jan 2022 23:11:04 +0000 (+0300) Subject: .mc/mc.ext: Refactor opening/viewing zip files X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f08975628aad267b22545b05b182f0b79918d441;p=dotfiles.git .mc/mc.ext: Refactor opening/viewing zip files --- 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