about summary refs log tree commit diff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index cf9fbf0..6af87b4 100644
--- a/.zshrc
+++ b/.zshrc
@@ -79,4 +79,8 @@ add-zsh-hook precmd set_prompt
 # plugins
 source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
 
-[ -f "/home/venomade/.ghcup/env" ] && . "/home/venomade/.ghcup/env" # ghcup-env
\ No newline at end of file
+# GHCUP for Haskell
+[ -f "/home/venomade/.ghcup/env" ] && . "/home/venomade/.ghcup/env" # ghcup-env
+
+# OPAM for OCaml
+[[ ! -r '/home/venomade/.opam/opam-init/init.zsh' ]] || source '/home/venomade/.opam/opam-init/init.zsh' > /dev/null 2> /dev/null