Browse Source

Update OPAM setup

Recent OPAM versions generate more elaborate setup code.
master
Sebastian Wiesner 11 years ago committed by Sorin Ionescu
parent
commit
417b9d429d
  1. 4
      modules/ocaml/init.zsh

4
modules/ocaml/init.zsh

@ -6,9 +6,9 @@ @@ -6,9 +6,9 @@
#
# Return if requirements are not found.
if (( ! $+commands[opam] )); then
if [[ ! -f "$HOME/.opam/opam-init/init.zsh" ]]; then
return 1
fi
# Initialize OPAM.
eval "$(opam config env)"
source "$HOME/.opam/opam-init/init.zsh"

Loading…
Cancel
Save