diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ranger.1 | 6 | ||||
-rw-r--r-- | doc/ranger.pod | 4 |
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. |