summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-01-01 02:00:24 +0100
committerhut <hut@lepus.uberspace.de>2016-01-01 02:00:24 +0100
commit91a552f35bb0484b7d9c4f1a423b4cea446bb742 (patch)
treeb86067216331f84dd88ad69b872b46e3c65eb6bd /doc
parent951a95c2abbbf682fa087d567542b0cd76afcda3 (diff)
downloadranger-91a552f35bb0484b7d9c4f1a423b4cea446bb742.tar.gz
ranger.pod: describe that :setlocal path is a regex
fixes #443
Diffstat (limited to 'doc')
-rw-r--r--doc/ranger.16
-rw-r--r--doc/ranger.pod4
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index 6ec463b6..e810e7c6 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -133,7 +133,7 @@
 .\" ========================================================================
 .\"
 .IX Title "RANGER 1"
-.TH RANGER 1 "ranger-1.7.2" "11/14/2015" "ranger manual"
+.TH RANGER 1 "ranger-1.7.2" "01/01/2016" "ranger manual"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -1185,6 +1185,10 @@ visiting that directory.
 Assigns a new value to an option, but locally for the directory given by
 \&\fIpath\fR. This means, that this option only takes effect when visiting that
 directory. If no path is given, uses the current directory.
+.Sp
+\&\fIpath\fR is a regular expression.  This means that \f(CW\*(C`path=~/dl\*(C'\fR applies to all
+paths that start with \fI~/dl\fR, e.g. \fI~/dl2\fR and \fI~/dl/foo\fR. To avoid this,
+use \f(CW\*(C`path=~/dl$\*(C'\fR.
 .IP "shell [\-\fIflags\fR] \fIcommand\fR" 2
 .IX Item "shell [-flags] command"
 Run a shell command.  \fIflags\fR are discussed in their own section.
diff --git a/doc/ranger.pod b/doc/ranger.pod
index e1a8d032..60deedf3 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -1243,6 +1243,10 @@ Assigns a new value to an option, but locally for the directory given by
 I<path>. This means, that this option only takes effect when visiting that
 directory. If no path is given, uses the current directory.
 
+I<path> is a regular expression.  This means that C<path=~/dl> applies to all
+paths that start with I<~/dl>, e.g. I<~/dl2> and I<~/dl/foo>. To avoid this,
+use C<path=~/dl$>.
+
 =item shell [-I<flags>] I<command>
 
 Run a shell command.  I<flags> are discussed in their own section.