add configuration file locations to doc

This commit is contained in:
Gokcehan committed 2018-06-28 20:23:50 +03:00
1 parent 2d821216a8
commit 07c16fede0
2 files changed
+21 -13

No files matched your search

+10 -6
View File
@@ -141,14 +141,18 @@ The following keybindings to applications are provided by default on windows:
Configuration
The configuration file should be located at:
Configuration files should be located at:
$XDG_CONFIG_HOME/lf/lfrc
system-wide user-specific
unix /etc/lfrc ~/.config/lf/lfrc
windows C:\ProgramData\lf\lfrc C:\Users\<user>\AppData\Local\lf\lfrc
If '$XDG_CONFIG_HOME' is not set, it defaults to '$HOME/.config' so the
location should be:
You can configure the default values of following variables to change these
locations:
~/.config/lf/lfrc
$XDG_CONFIG_HOME ~/.config
%ProgramData% C:\ProgramData
%LOCALAPPDATA% C:\Users\<user>\AppData\Local
A sample configuration file can be found at
https://github.com/gokcehan/lf/blob/master/etc/lfrc.example.
@@ -522,7 +526,7 @@ You may want to use either file extensions or mime types from 'file' command:
Following commands are provided by default:
cmd open-file &start %f% # windows
cmd open-file &open "$f" # mac
cmd open-file &open "$f" # macos
cmd open-file &xdg-open "$f" # others
You may also use any other existing file openers as you like. Possible options