summary refs log tree commit diff stats
path: root/doc/ranger.1
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2017-01-24 05:14:46 +0100
committernfnty <git@nfnty.se>2017-01-24 05:21:03 +0100
commit94dc542c80d56afd2edf9c80e5f4031770920f94 (patch)
tree8908e3e80908b7f321f7175138d940714bdb95ba /doc/ranger.1
parent14f6e996305933d2a37d02c3a3ed87dc4a66b5e3 (diff)
downloadranger-94dc542c80d56afd2edf9c80e5f4031770920f94.tar.gz
config.commands: `setlocal`: Properly parse path with spaces
Added proper quote parsing

Fixes #753
Diffstat (limited to 'doc/ranger.1')
-rw-r--r--doc/ranger.15
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index 095e061a..a26043ce 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -129,7 +129,7 @@
 .\" ========================================================================
 .\"
 .IX Title "RANGER 1"
-.TH RANGER 1 "ranger-1.8.1" "01/08/2017" "ranger manual"
+.TH RANGER 1 "ranger-1.8.1" "2017-01-24" "ranger manual"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -1241,6 +1241,9 @@ directory. If no path is given, uses the current directory.
 \&\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.
+.Sp
+\&\fIpath\fR can be quoted with either single or double quotes to prevent unwanted
+splitting. \fIpath='~/dl dl$'\fR or \fIpath=\*(L"~/dl dl$\*(R"\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.