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

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