2013-10-14 11:12:34 +02:00
|
|
|
#
|
2014-05-07 04:11:21 +02:00
|
|
|
# Initializes OCaml package management.
|
2013-10-14 11:12:34 +02:00
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Sebastian Wiesner <lunaryorn@gmail.com>
|
|
|
|
#
|
|
|
|
|
|
|
|
# Return if requirements are not found.
|
2014-04-24 16:35:33 +02:00
|
|
|
if [[ ! -f "$HOME/.opam/opam-init/init.zsh" ]]; then
|
2013-10-14 11:12:34 +02:00
|
|
|
return 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Initialize OPAM.
|
2014-04-24 16:35:33 +02:00
|
|
|
source "$HOME/.opam/opam-init/init.zsh"
|