1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 09:18:00 +00:00
prezto/modules/ocaml/init.zsh
Sebastian Wiesner 417b9d429d Update OPAM setup
Recent OPAM versions generate more elaborate setup code.
2014-10-10 18:38:32 -04:00

15 lines
269 B
Bash

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