Use lambdaterm resources for home path instead of sys
Co-authored-by: Fabian <copy@copy.sh>
This commit is contained in:
parent
251228d677
commit
ee030bab0b
|
@ -1479,7 +1479,7 @@ let common_init ~initial_env =
|
|||
None
|
||||
)
|
||||
| None ->
|
||||
if Sys.file_exists ".ocamlinit" && Sys.getcwd () <> Sys.getenv "HOME" then
|
||||
if Sys.file_exists ".ocamlinit" && Sys.getcwd () <> LTerm_resources.home then
|
||||
Some ".ocamlinit"
|
||||
else
|
||||
let xdg_fn = LTerm_resources.xdgbd_file ~loc:LTerm_resources.Config "utop/init.ml" in
|
||||
|
|
Loading…
Reference in New Issue