Skip to content

Commit d5d9dc1

Browse files
authored
Merge pull request #230 from Morganamilo/manpagefiles
Add info for all files and directories that used
2 parents c072146 + 9399cdd commit d5d9dc1

File tree

1 file changed

+40
-4
lines changed

1 file changed

+40
-4
lines changed

yay.8

+40-4
Original file line numberDiff line numberDiff line change
@@ -285,14 +285,50 @@ Shows statistics for installed packages and system health\&.
285285
.RE
286286
.SH "FILES"
287287
.sp
288-
Yay's config files are stored in \fI$XDG_CONFIG_HOME/yay/\fR\&. You should not edit these files directly,
289-
instead use the options described in \fBPERMANENT CONFIGURATION SETTINGS\fR\&.
290-
.sp
291-
Yay also inherits options from \fBpacman\&.conf\fR(5), e\&.g\&. \fIcolor\fR\&.
288+
\fBCONFIG DIRECTORY\fR
289+
.RS 4
290+
The config directory is \fI$XDG_CONFIG_HOME/yay/\fR\&. if
291+
\fB$XDG_CONFIG_HOME\fR is unset, the config directory will fall back to
292+
\fI$HOME/.config/yay\fR\%.
293+
.PP
294+
\fIconfig.json\fR\& Is used to store all of Yay's config options\&. Editing
295+
this file should be done through Yay, using the options
296+
mentioned in \fBPERMANENT CONFIGURATION SETTINGS\fR\&.
297+
.RE
298+
.PP
299+
\fBCACHE DIRECTORY\fR
300+
.RS 4
301+
The cache directory is \fI$XDG_CACHE_HOME/yay/\fR\&. if
302+
\fB$XDG_CACHE_HOME\fR is unset, the cache directory will fall back to
303+
\fI$HOME/.cache/yay\fR\&.
304+
.PP
305+
\fIaur_<shellname>\fR holds a list of of all packages, including the AUR,
306+
for shell completion\&. The completion files are refreshed every 48 hours\&.
307+
.PP
308+
\fIvcs.json\fR tracks VCS packages and the latest commit of each source. If
309+
any of these commits change the package will be upgraded during a devel update.
292310
.RE
311+
.PP
312+
\fBBUILD DIRECTORY\fR
313+
.RS 4
314+
Unless otherwise set this should be the same as \fBCACHE DIRECTORY\fR. This
315+
directory is used to store downloaded AUR Packages as well as any source files
316+
and built packages from those packages\&.
317+
.RE
318+
.PP
319+
\fBPACMAN.CONF\fR
320+
.RS 4
321+
Yay uses Pacman's config file to set certain pacman options either through
322+
go-alpm or Yay itself. Options inherited include most libalpm options and
323+
pacman options\&.
324+
.PP
325+
Notably \fBDatabases\fR, \fBColor\fR and \fB*Path/*Dir\fR options are used\&.
326+
.RE
327+
.PP
293328
.SH "SEE ALSO"
294329
.sp
295330
\fBmakepkg\fR(8)
331+
\fBPKGBUILD\fR(5)
296332
\fBpacman\fR(8)
297333
\fBpacman\&.conf\fR(5)
298334
.PP

0 commit comments

Comments
 (0)