LF_CONFIG_HOME environment variable (#1253)

* Added LF_CONFIG_HOME environment variable

* Added and generated documentation for LF_CONFIG_HOME
This commit is contained in:
Alok Mishra authored and GitHub committed 2023-05-21 01:53:55 +03:00
1 parent 3b942a8a39
commit 8fee7f0927
4 files changed
+30 -13

No files matched your search

+10 -4
View File
@@ -330,10 +330,16 @@ History file should be located at:
You can configure the default values of following variables to change these locations:
.PP
.EX
$XDG_CONFIG_HOME ~/.config
$XDG_DATA_HOME ~/.local/share
%ProgramData% C:\eProgramData
%LOCALAPPDATA% C:\eUsers\e<user>\eAppData\eLocal
Unix
$XDG_CONFIG_HOME ~/.config
$XDG_DATA_HOME ~/.local/share
.EE
.PP
.EX
Windows
%ProgramData% C:\eProgramData
%LOCALAPPDATA% C:\eUsers\e<user>\eAppData\eLocal
%LF_CONFIG_HOME% If set, use this value instead of %LOCALAPPDATA%
.EE
.PP
A sample configuration file can be found at https://github.com/gokcehan/lf/blob/master/etc/lfrc.example