mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2024-06-26 14:58:59 +02:00
![Sebastian Wiesner](/assets/img/avatar_default.png)
Manage local Ocaml modules with OPAM. Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
16 lines
237 B
Bash
16 lines
237 B
Bash
#
|
|
# Initializes Ocaml package management.
|
|
#
|
|
# Authors:
|
|
# Sebastian Wiesner <lunaryorn@gmail.com>
|
|
#
|
|
|
|
# Return if requirements are not found.
|
|
if (( ! $+commands[opam] )); then
|
|
return 1
|
|
fi
|
|
|
|
# Initialize OPAM.
|
|
eval "$(opam config env)"
|
|
|