utop icon indicating copy to clipboard operation
utop copied to clipboard

utop reads .ocamlinit in current directory in preference to .config/utop/init.ml

Open nilsbecker opened this issue 4 years ago • 2 comments

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.

nilsbecker avatar May 13 '20 14:05 nilsbecker

I think @copy is expert in this topic :)

kandu avatar May 21 '20 12:05 kandu

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

bentxt avatar Mar 29 '21 12:03 bentxt