[ocaml-infra] Question about Opam and Fish shell

Daniel Bünzli daniel.buenzli at erratique.ch
Mon Jul 13 10:59:54 BST 2015

Le lundi, 13 juillet 2015 à 07:39, Carl Dong a écrit :
> Does anyone know why opam doesn't just add `eval (opam config env)` to
> the shell config but adds `. /home/dongcarl/.opam/opam-init/init.fish >
> /dev/null 2> /dev/null or true`?

I guess it's to avoid opam being called each time you create a new shell.

> In fish shell the longer one doesn't work and wreaks havoc.

Can you help us to figure out what wreaks havoc exactly so that this can be fixed. It seems that the fish script simply sources the variables.fish script located in opam-init do you see anything wrong there ?  



More information about the Infrastructure mailing list