ansible-role--bashrc/files/bashrc.d/50-dev-opam.sh
2021-12-31 13:03:38 +01:00

12 lines
207 B
Bash

#!/bin/sh
##
# Set up OCaml environment
#
if hash opam > /dev/null 2>&1 ; then
eval $(opam config env)
# OPAM configuration
. /home/warbrain/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
fi