diff options
author | nfnty <git@nfnty.se> | 2017-01-29 18:31:53 +0100 |
---|---|---|
committer | nfnty <git@nfnty.se> | 2017-01-29 18:31:53 +0100 |
commit | ae99c2c9e71797c2777d4441db451f0e2ac967cc (patch) | |
tree | e34f6920d594400deab1e5f15d63673c328d6607 /ranger | |
parent | a2159459e22f24ef48910987187739c99e08d532 (diff) | |
download | ranger-ae99c2c9e71797c2777d4441db451f0e2ac967cc.tar.gz |
config: Use `atool` directly
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/config/commands.py | 2 | ||||
-rw-r--r-- | ranger/config/rifle.conf | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index f86dad2b..13df6bd9 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -262,7 +262,7 @@ class open_with(Command): examples: "mplayer f 1" => ("mplayer", "f", 1) - "aunpack 4" => ("aunpack", "", 4) + "atool 4" => ("atool", "", 4) "p" => ("", "p", 0) "" => None """ diff --git a/ranger/config/rifle.conf b/ranger/config/rifle.conf index 0b812192..5e38465a 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 --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 -- "$@" +ext ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --list --each -- "$@" | "$PAGER" +ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --list --each -- "$@" | "$PAGER" +ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --extract --each -- "$@" +ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --extract --each -- "$@" # Fallback: ext tar|gz, has tar = tar vvtf "$@" | "$PAGER" |