summary refs log tree commit diff stats
path: root/doc/ranger.1
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.1
parent24dd1af4f0bd05ad781e0f79723df2b07cb70218 (diff)
downloadranger-f7199d8e235bb033353da3b1274233b21fd6207f.tar.gz
Add `$XDG_DATA_HOME` support
Fixes #303
Fixes #448
Diffstat (limited to 'doc/ranger.1')
-rw-r--r--doc/ranger.113
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index 193351d6..16abc635 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -139,7 +139,8 @@ ranger \- visual file manager
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 \&\fBranger\fR [\fB\-\-version\fR] [\fB\-\-help\fR] [\fB\-\-debug\fR] [\fB\-\-clean\fR]
-[\fB\-\-confdir\fR=\fIdirectory\fR] [\fB\-\-copy\-config\fR=\fIwhich\fR]
+[\fB\-\-cachedir\fR=\fIdirectory\fR] [\fB\-\-confdir\fR=\fIdirectory\fR] [\fB\-\-datadir\fR=\fIdirectory\fR]
+[\fB\-\-copy\-config\fR=\fIwhich\fR]
 [\fB\-\-choosefile\fR=\fItarget\fR] [\fB\-\-choosefiles\fR=\fItarget\fR]
 [\fB\-\-choosedir\fR=\fItarget\fR] [\fB\-\-selectfile\fR=\fIfilepath\fR]
 [\fB\-\-list\-unused\-keys\fR] [\fB\-\-list\-tagged\-files\fR=\fItag\fR]
@@ -182,9 +183,15 @@ exception in the statusbar/log and try to keep running.
 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.
+.IP "\fB\-\-cachedir\fR=\fIdir\fR" 14
+.IX Item "--cachedir=dir"
+Change the cache directory of ranger from \f(CW$XDG_CACHE_HOME\fR or ~/.cache/ranger to \*(L"dir\*(R".
 .IP "\fB\-r\fR \fIdir\fR, \fB\-\-confdir\fR=\fIdir\fR" 14
 .IX Item "-r dir, --confdir=dir"
-Change the configuration directory of ranger from ~/.config/ranger to \*(L"dir\*(R".
+Change the configuration directory of ranger from \f(CW$XDG_CONFIG_HOME\fR or ~/.config/ranger to \*(L"dir\*(R".
+.IP "\fB\-\-datadir\fR=\fIdir\fR" 14
+.IX Item "--datadir=dir"
+Change the data directory of ranger from \f(CW$XDG_DATA_HOME\fR or ~/.local/share/ranger to \*(L"dir\*(R".
 .IP "\fB\-\-copy\-config\fR=\fIfile\fR" 14
 .IX Item "--copy-config=file"
 Create copies of the default configuration files in your local configuration
@@ -348,6 +355,8 @@ can use it for something like this command:
 .PP
 \&\f(CW%confdir\fR expands to the directory given by \fB\-\-confdir\fR.
 .PP
+\&\f(CW%datadir\fR expands to the directory given by \fB\-\-datadir\fR.
+.PP
 The macro \f(CW%space\fR 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.
v class='alt'>
6f8ca83b ^
0e905425 ^

4ead0882 ^


85dd7019 ^
0e905425 ^




85dd7019 ^

4ead0882 ^
7cf6dfd2 ^
4ead0882 ^
0e905425 ^


0e905425 ^


348bb117 ^

0e905425 ^
348bb117 ^
0e905425 ^

6f8ca83b ^

0e905425 ^
74c7c3d8 ^


f68a3958 ^
0e905425 ^





6f8ca83b ^



03cf7286 ^


2b3110fc ^
03cf7286 ^
6f8ca83b ^



f75af43c ^

1d50cd92 ^
f75af43c ^
6f8ca83b ^



6f8ca83b ^
c38ee039 ^
1d50cd92 ^

6f8ca83b ^
4ead0882 ^
6f8ca83b ^

6f8ca83b ^






1d50cd92 ^
4ead0882 ^

6f8ca83b ^
6f8ca83b ^







74917acc ^
6f8ca83b ^












dbf41d5b ^
721488ce ^





dbf41d5b ^
6f8ca83b ^




03cf7286 ^
4ead0882 ^



03cf7286 ^

ae6f5730 ^
6f8ca83b ^


6f8ca83b ^

456bddd6 ^



6f8ca83b ^
4ead0882 ^
dfcfd112 ^
74c7c3d8 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188