summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoran Plesivcak <zplesiv@gmail.com>2020-11-08 10:52:27 +0000
committerZoran Plesivcak <zplesiv@gmail.com>2020-11-08 10:52:27 +0000
commitbd56b2538e7ba8b6edcdb490edd8374176e55bd6 (patch)
tree9bba66673f10ce5bbc6de96e4b43ae4d27cae1f9
parenta8105b082f94729669d0509f07c98aa566c0278f (diff)
Update the docs to reflect changes to code
Changes to code in: - previous commit (THIS_COMMIT^) - c826091a74e88102ca1795ab9798dd8b8498f653
-rw-r--r--doc/rifle.14
-rw-r--r--doc/rifle.pod4
-rw-r--r--examples/rifle_different_file_opener.conf4
3 files changed, 6 insertions, 6 deletions
diff --git a/doc/rifle.1 b/doc/rifle.1
index b3dd6373..4e213a8a 100644
--- a/doc/rifle.1
+++ b/doc/rifle.1
@@ -216,8 +216,8 @@ List all the different methods:
.PP
.Vb 4
\& $ rifle \-l helloworld.py
-\& 0:editor::"$EDITOR" \-\- "$@"
-\& 1:pager::"$PAGER" \-\- "$@"
+\& 0:editor::$EDITOR \-\- "$@"
+\& 1:pager::$PAGER \-\- "$@"
\& 2:::python \-\- "$1"
.Ve
.PP
diff --git a/doc/rifle.pod b/doc/rifle.pod
index e0abaa3b..0cd34478 100644
--- a/doc/rifle.pod
+++ b/doc/rifle.pod
@@ -117,8 +117,8 @@ Specifies the directory for configuration files. Defaults to F<$HOME/.config>.
List all the different methods:
$ rifle -l helloworld.py
- 0:editor::"$EDITOR" -- "$@"
- 1:pager::"$PAGER" -- "$@"
+ 0:editor::$EDITOR -- "$@"
+ 1:pager::$PAGER -- "$@"
2:::python -- "$1"
Display its content by opening it with "cat":
diff --git a/examples/rifle_different_file_opener.conf b/examples/rifle_different_file_opener.conf
index 695f27c6..b806b820 100644
--- a/examples/rifle_different_file_opener.conf
+++ b/examples/rifle_different_file_opener.conf
@@ -5,5 +5,5 @@
else = xdg-open "$1"
# You need an "editor" and "pager" in order to use certain functions in ranger:
-label editor = "$EDITOR" -- "$@"
-label pager = "$PAGER" -- "$@"
+label editor = $EDITOR -- "$@"
+label pager = $PAGER -- "$@"