1
0
Fork 0

Update OPAM setup

Recent OPAM versions generate more elaborate setup code.
pull/597/head
Sebastian Wiesner 11 years ago
parent bf9dbfd5b9
commit 5eb82616f7

@ -6,10 +6,10 @@
#
# 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