utop
utop copied to clipboard
utop reads .ocamlinit in current directory in preference to .config/utop/init.ml
this is the behavior of the bare ocaml toplevel. is this intended also for utop?
i noticed this when starting utop from my home directory, which contains a .ocamlinit. starting utop from any other directory reads the file i expected: .config/utop/init.ml. it is possible to move the ocaml toplevel init file to .config/ocaml/init.ml to work around this unexpected behavior of utop.
I think @copy is expert in this topic :)
Thanks for that report. I finally understand why my init.ml file is ignore and I cannot the vi input mode (#edit_mode_vi) get to work