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.
15 lines
295 B
15 lines
295 B
#
|
|
# Initializes OCaml package management.
|
|
#
|
|
# Authors:
|
|
# Sebastian Wiesner <lunaryorn@gmail.com>
|
|
#
|
|
|
|
# Return if requirements are not found.
|
|
if [[ ! -f "${OPAMROOT:-$HOME/.opam}/opam-init/init.zsh" ]]; then
|
|
return 1
|
|
fi
|
|
|
|
# Initialize OPAM.
|
|
source "${OPAMROOT:-$HOME/.opam}/opam-init/init.zsh"
|