mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-20 12:01:12 +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"
|