From: Oleg Broytman Date: Wed, 31 Aug 2016 22:16:57 +0000 (+0300) Subject: .mc/menu: reorder extensions alphabetically X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=855eff748adc304e171b7a01088ad5a65acf460f;p=dotfiles.git .mc/menu: reorder extensions alphabetically --- diff --git a/.mc/menu b/.mc/menu index 8bedca5..f769a60 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|egg|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR|whl)$ & t r ++ f \.(bz2|egg|gz|lz|lzma|7z|xz|tar|whl|zip|ZIP|rar|RAR)$ & 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";; - *.egg|*.zip|*.ZIP|*.whl) P="unzip";; + *.egg|*.whl|*.zip|*.ZIP) P="unzip";; *.rar|*.RAR) P="unrar x -y";; esac exec $P %f -+ F \.(bz2|egg|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR|whl)$ & T r ++ F \.(bz2|egg|gz|lz|lzma|7z|xz|tar|whl|zip|ZIP|rar|RAR)$ & 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";; - *.egg|*.zip|*.ZIP|*.whl) P="unzip";; + *.egg|*.whl|*.zip|*.ZIP) P="unzip";; *.rar|*.RAR) P="unrar x -y";; esac exec $P %D/%F