diff options
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | ranger/config/commands.py | 2 | ||||
-rw-r--r-- | ranger/config/rifle.conf | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md index d1a1da25..051212ce 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Optional, for enhanced file previews (with `scope.sh`): * `img2txt` (from `caca-utils`) for ASCII-art image previews * `highlight` or `pygmentize` for syntax highlighting of code -* `atool`, `acat`, `bsdtar` and/or `unrar` for previews of archives +* `atool`, `bsdtar` and/or `unrar` for previews of archives * `lynx`, `w3m` or `elinks` for previews of html pages * `pdftotext` for pdf previews * `transmission-show` for viewing bit-torrent information 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" |