mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-10-14 15:49:09 +00:00
Add Ocaml module
Manage local Ocaml modules with OPAM. Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
This commit is contained in:
committed by
Sorin Ionescu
parent
e18f18af92
commit
1c6a016644
15
modules/ocaml/init.zsh
Normal file
15
modules/ocaml/init.zsh
Normal file
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# 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)"
|
||||
|
Reference in New Issue
Block a user