From 80c2391f59bd704a9ab58f35180235a1e9aa6482 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;;