summary refs log tree commit diff stats
path: root/doc/ranger.pod
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2017-02-05 21:19:41 +0100
committernfnty <git@nfnty.se>2017-02-05 21:22:05 +0100
commitf7199d8e235bb033353da3b1274233b21fd6207f (patch)
treec864b9c4f55e483bd6f1c5ec7114bffbfe1357e5 /doc/ranger.pod
parent24dd1af4f0bd05ad781e0f79723df2b07cb70218 (diff)
downloadranger-f7199d8e235bb033353da3b1274233b21fd6207f.tar.gz
Add `$XDG_DATA_HOME` support
Fixes #303
Fixes #448
Diffstat (limited to 'doc/ranger.pod')
-rw-r--r--doc/ranger.pod15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/ranger.pod b/doc/ranger.pod
index f11c5964..f77a6030 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -8,7 +8,8 @@ ranger - visual file manager
 =head1 SYNOPSIS
 
 B<ranger> [B<--version>] [B<--help>] [B<--debug>] [B<--clean>]
-[B<--confdir>=I<directory>] [B<--copy-config>=I<which>]
+[B<--cachedir>=I<directory>] [B<--confdir>=I<directory>] [B<--datadir>=I<directory>]
+[B<--copy-config>=I<which>]
 [B<--choosefile>=I<target>] [B<--choosefiles>=I<target>]
 [B<--choosedir>=I<target>] [B<--selectfile>=I<filepath>]
 [B<--list-unused-keys>] [B<--list-tagged-files>=I<tag>]
@@ -67,9 +68,17 @@ Activate the clean mode:  ranger will not access or create any configuration
 files nor will it leave any traces on your system.  This is useful when your
 configuration is broken, when you want to avoid clutter, etc.
 
+=item B<--cachedir>=I<dir>
+
+Change the cache directory of ranger from $XDG_CACHE_HOME or ~/.cache/ranger to "dir".
+
 =item B<-r> I<dir>, B<--confdir>=I<dir>
 
-Change the configuration directory of ranger from ~/.config/ranger to "dir".
+Change the configuration directory of ranger from $XDG_CONFIG_HOME or ~/.config/ranger to "dir".
+
+=item B<--datadir>=I<dir>
+
+Change the data directory of ranger from $XDG_DATA_HOME or ~/.local/share/ranger to "dir".
 
 =item B<--copy-config>=I<file>
 
@@ -246,6 +255,8 @@ can use it for something like this command:
 
 %confdir expands to the directory given by B<--confdir>.
 
+%datadir expands to the directory given by B<--datadir>.
+
 The macro %space expands to a space character. You can use it to add spaces to
 the end of a command when needed, while preventing editors to strip spaces off
 the end of the line automatically.