X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.mc%2Fmenu;h=8bedca56ad0e970bd78c37402bfe76cf1e20a1f0;hb=7a4784f7d96de8f21a50025eafcb4770d6f6ce74;hp=98c96a3edd3d83fc063c48aa168709c0ffa6b1cc;hpb=9688519f5f0244cc84d34cb0d99a53df87d51206;p=dotfiles.git 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