about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--README.md48
-rw-r--r--ranger/container/settings.py2
2 files changed, 38 insertions, 12 deletions
diff --git a/README.md b/README.md
index be17f0f9..85f6137e 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
 ranger 1.9.2
 ============
 
+<img src="https://ranger.github.io/ranger_logo.png" width="150">
+
 [![Build Status](https://travis-ci.org/ranger/ranger.svg?branch=master)](https://travis-ci.org/ranger/ranger)
 <a href="https://repology.org/metapackage/ranger/versions">
   <img src="https://repology.org/badge/latest-versions/ranger.svg" alt="latest packaged version(s)">
@@ -73,26 +75,36 @@ Dependencies
   and (optionally) wide-unicode support
 * A pager (`less` by default)
 
-Optional:
+### Optional dependencies
+
+For general usage:
 
-* The `file` program for determining file types
-* The Python module `chardet`, in case of encoding detection problems
+* `file` for determining file types
+* `chardet` (Python package) for improved encoding detection of text files
 * `sudo` to use the "run as root" feature
-* `w3m` for the `w3mimgdisplay` program to preview images
-* `python-bidi` for correct display of RTL file names (Hebrew, Arabic)
+* `python-bidi` to display right-to-left file names correctly (Hebrew, Arabic)
 
-Optional, for enhanced file previews (with `scope.sh`):
+For enhanced file previews (with `scope.sh`):
 
 * `img2txt` (from `caca-utils`) for ASCII-art image previews
+* `w3mimgdisplay`, `ueberzug`, `kitty`, `terminology` or `urxvt` for image
+  previews
+* `convert` (from `imagemagick`) to auto-rotate images and for SVG previews
+* `ffmpegthumbnailer` for video thumbnails
 * `highlight` or `pygmentize` for syntax highlighting of code
-* `atool`, `bsdtar` and/or `unrar` for previews of archives
-* `lynx`, `w3m` or `elinks` for previews of html pages
-* `pdftotext` or `mutool` for `pdf` previews
+* `atool`, `bsdtar`, `unrar` and/or `7z` to preview archives
+* `bsdtar`, `tar`, `unrar` and/or `unzip` to preview archives as their first
+  image
+* `lynx`, `w3m` or `elinks` to preview html pages
+* `pdftotext` or `mutool` for textual `pdf` previews, `pdftoppm` to preview as
+  image
+* `djvutxt` for textual DjVu previews, `ddjvu` to preview as image
+* `calibre` or `epub-thumbnailer` for image previews of ebooks
 * `transmission-show` for viewing BitTorrent information
 * `mediainfo` or `exiftool` for viewing information about media files
 * `odt2txt` for OpenDocument text files (`odt`, `ods`, `odp` and `sxw`)
-* `chardet` (Python package) for improved encoding detection of text files
-
+* `python` or `jq` for JSON files
+* `fontimage` for font previews
 
 Installing
 ----------
@@ -141,3 +153,17 @@ Ranger can automatically copy default configuration files to `~/.config/ranger`
 if you run it with the switch `--copy-config=( rc | scope | ... | all )`.
 See `ranger --help` for a description of that switch.  Also check
 `ranger/config/` for the default configuration.
+
+
+Going Further
+---------------
+* To get the most out of ranger, read the [Official User Guide](https://github.com/ranger/ranger/wiki/Official-user-guide).
+* For frequently asked questions, see the [FAQ](https://github.com/ranger/ranger/wiki/FAQ%3A-Frequently-Asked-Questions).
+* For more information on customization, see the [wiki](https://github.com/ranger/ranger/wiki).
+
+
+Community
+---------------
+For help, support, or if you just want to hang out with us, you can find us here:
+* **IRC**: channel **#ranger** on [freenode](https://freenode.net/kb/answer/chat)
+* **Reddit**: [r/ranger](https://www.reddit.com/r/ranger/)
diff --git a/ranger/container/settings.py b/ranger/container/settings.py
index 0b098659..82901ac0 100644
--- a/ranger/container/settings.py
+++ b/ranger/container/settings.py
@@ -278,7 +278,7 @@ class Settings(SignalDispatcher, FileManagerAware):
         if path:
             if path not in self._localsettings:
                 try:
-                    regex = re.compile(path)
+                    regex = re.compile(re.escape(path))
                 except re.error:  # Bad regular expression
                     return
                 self._localregexes[path] = regex