From 8d94876c8377a97b8bea1266c4f9407b256c8a80 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Fri, 10 Jun 2016 09:26:43 -0700 Subject: [PATCH] Add top finder to ocamlinit --- dotfiles/ocamlinit | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dotfiles/ocamlinit b/dotfiles/ocamlinit index 0c2a922..12325a1 100644 --- a/dotfiles/ocamlinit +++ b/dotfiles/ocamlinit @@ -1,3 +1,9 @@ +(* Added by OPAM. *) +let () = + try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH") + with Not_found -> () +;; + #use "topfind";; #thread;; #camlp4o;;