From c65a61c7db1178201ce2c0118c033f9b8ae43bd1 Mon Sep 17 00:00:00 2001 From: nfnty Date: Sun, 22 Jan 2017 00:31:02 +0100 Subject: config/rifle.conf: Add `--each` to atool for multiple files Partial fix for #746 --- ranger/config/rifle.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ranger/config/rifle.conf b/ranger/config/rifle.conf index aadc2f2c..0b812192 100644 --- a/ranger/config/rifle.conf +++ b/ranger/config/rifle.conf @@ -185,10 +185,10 @@ ext xcf, X, flag f = gimp -- "$@" # avoid password prompt by providing empty password ext 7z, has 7z = 7z -p l "$@" | "$PAGER" # This requires atool -ext ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has als = als -- "$@" | "$PAGER" -ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has als = als -- "$@" | "$PAGER" -ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has aunpack = aunpack -- "$@" -ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has aunpack = aunpack -- "$@" +ext ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has als = als --each -- "$@" | "$PAGER" +ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has als = als --each -- "$@" | "$PAGER" +ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has aunpack = aunpack --each -- "$@" +ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has aunpack = aunpack --each -- "$@" # Fallback: ext tar|gz, has tar = tar vvtf "$@" | "$PAGER" -- cgit 1.4.1-2-gfad0