Skip to content

Commit

Permalink
change system configuration path on unix
Browse files Browse the repository at this point in the history
  • Loading branch information
gokcehan committed Jul 13, 2018
1 parent 95a9305 commit ee7293e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docstring.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lf.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion os.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func init() {
}

gConfigPaths = []string{
filepath.Join("/etc", "lfrc"),
filepath.Join("/etc", "lf", "lfrc"),
filepath.Join(config, "lf", "lfrc"),
}

Expand Down

0 comments on commit ee7293e

Please sign in to comment.