From f7199d8e235bb033353da3b1274233b21fd6207f Mon Sep 17 00:00:00 2001 From: nfnty Date: Sun, 5 Feb 2017 21:19:41 +0100 Subject: Add `$XDG_DATA_HOME` support Fixes #303 Fixes #448 --- doc/ranger.pod | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'doc/ranger.pod') 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 [B<--version>] [B<--help>] [B<--debug>] [B<--clean>] -[B<--confdir>=I] [B<--copy-config>=I] +[B<--cachedir>=I] [B<--confdir>=I] [B<--datadir>=I] +[B<--copy-config>=I] [B<--choosefile>=I] [B<--choosefiles>=I] [B<--choosedir>=I] [B<--selectfile>=I] [B<--list-unused-keys>] [B<--list-tagged-files>=I] @@ -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 + +Change the cache directory of ranger from $XDG_CACHE_HOME or ~/.cache/ranger to "dir". + =item B<-r> I, B<--confdir>=I -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 + +Change the data directory of ranger from $XDG_DATA_HOME or ~/.local/share/ranger to "dir". =item B<--copy-config>=I @@ -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. -- cgit 1.4.1-2-gfad0