1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/modules/ocaml/init.zsh

20 lines
351 B

#
# Initializes OCaml package management.
#
# Authors:
# Sebastian Wiesner <lunaryorn@gmail.com>
#
# Set $OPAMROOT
if [[ -z "$OPAMROOT" ]]; then
export OPAMROOT="${HOME}/.opam"
fi
# Return if requirements are not found.
if [[ ! -f "$OPAMROOT/opam-init/init.zsh" ]]; then
return 1
fi
# Initialize OPAM.
source "$OPAMROOT/opam-init/init.zsh"