mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 09:18:00 +00:00
417b9d429d
Recent OPAM versions generate more elaborate setup code.
15 lines
269 B
Bash
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"
|