From: Oleg Broytman Date: Sun, 28 Aug 2016 17:36:45 +0000 (+0300) Subject: .mc/menu: .egg and .whl are zip files X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=7a4784f7d96de8f21a50025eafcb4770d6f6ce74 .mc/menu: .egg and .whl are zip files --- diff --git a/.mc/menu b/.mc/menu index 98c96a3..8bedca5 100644 --- a/.mc/menu +++ b/.mc/menu @@ -414,7 +414,7 @@ X Extract the contents of an other compressed tar file esac $PRG %D/%F | tar xvpf - -+ f \.(bz2|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR)$ & t r ++ f \.(bz2|egg|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR|whl)$ & t r x Extract a compressed file case %f in *.bz2) P="bzip2 -d";; @@ -424,12 +424,12 @@ x Extract a compressed file *.7z) P="7zr x";; *.xz) P="xz -d";; *.tar) P="tar xvpf";; - *.zip|*.ZIP) P="unzip";; + *.egg|*.zip|*.ZIP|*.whl) P="unzip";; *.rar|*.RAR) P="unrar x -y";; esac exec $P %f -+ F \.(bz2|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR)$ & T r ++ F \.(bz2|egg|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR|whl)$ & T r X Extract another compressed file case %F in *.bz2) P="bzip2 -d";; @@ -439,7 +439,7 @@ X Extract another compressed file *.7z) P="7zr x";; *.xz) P="xz -d";; *.tar) P="tar xvpf";; - *.zip|*.ZIP) P="unzip";; + *.egg|*.zip|*.ZIP|*.whl) P="unzip";; *.rar|*.RAR) P="unrar x -y";; esac exec $P %D/%F