Add OPAM support

This commit is contained in:
Danielle McLean 2021-09-15 09:49:19 +10:00
parent e2963ca8e9
commit 3348b8bd19
Signed by: 00dani
GPG key ID: 9DDE1EDE01E3A605

View file

@ -10,6 +10,10 @@ newbins+=(~/.go/bin)
newbins+=(~/.cabal/bin ~/Library/Haskell/bin)
export STACK_ROOT=$XDG_DATA_HOME/stack
# o'caml
export OPAMROOT=$XDG_DATA_HOME/opam
[[ -f $OPAMROOT/opam-init/init.zsh ]] && source $OPAMROOT/opam-init/init.zsh
# ooc
if (( $+commands[rock] )); then
export -UT OOC_LIBS ooc_libs