diff --git a/doc.go b/doc.go index 253a87c7..66860382 100644 --- a/doc.go +++ b/doc.go @@ -161,7 +161,7 @@ Configuration Configuration files should be located at: os system-wide user-specific - unix /etc/lfrc ~/.config/lf/lfrc + unix /etc/lf/lfrc ~/.config/lf/lfrc windows C:\ProgramData\lf\lfrc C:\Users\<user>\AppData\Local\lf\lfrc Marks file should be located at: diff --git a/docstring.go b/docstring.go index 44a4f4a6..44889a86 100644 --- a/docstring.go +++ b/docstring.go @@ -165,7 +165,7 @@ Configuration Configuration files should be located at: os system-wide user-specific - unix /etc/lfrc ~/.config/lf/lfrc + unix /etc/lf/lfrc ~/.config/lf/lfrc windows C:\ProgramData\lf\lfrc C:\Users\<user>\AppData\Local\lf\lfrc Marks file should be located at: diff --git a/lf.1 b/lf.1 index b04d7491..9148d595 100644 --- a/lf.1 +++ b/lf.1 @@ -184,7 +184,7 @@ Configuration files should be located at: .PP .EX os system-wide user-specific - unix /etc/lfrc ~/.config/lf/lfrc + unix /etc/lf/lfrc ~/.config/lf/lfrc windows C:\eProgramData\elf\elfrc C:\eUsers\e<user>\eAppData\eLocal\elf\elfrc .EE .PP diff --git a/os.go b/os.go index c6b0ce0b..c43f5fdf 100644 --- a/os.go +++ b/os.go @@ -65,7 +65,7 @@ func init() { } gConfigPaths = []string{ - filepath.Join("/etc", "lfrc"), + filepath.Join("/etc", "lf", "lfrc"), filepath.Join(config, "lf", "lfrc"), }