ansible-role--bashrc/files/bashrc.d/05-opam.sh

12 lines
205 B
Bash
Raw Normal View History

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