aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2020-04-08 05:01:06 -0700
committerkatherine <ageha@airen-no-jikken.icu>2020-04-08 05:01:06 -0700
commit56e0c329c2bc6a78bc759ffa9c637193cd416c63 (patch)
treed0b7373104aab2e6d4b49f4045179283555bfb40
parent7755d13c0ff045f2413036c5f455b244853c160c (diff)
downloaddotfiles-56e0c329c2bc6a78bc759ffa9c637193cd416c63.tar.gz
properly source opam's zsh hook
-rw-r--r--.zshrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/.zshrc b/.zshrc
index d8890bb..5f31308 100644
--- a/.zshrc
+++ b/.zshrc
@@ -186,6 +186,10 @@ pwgen() {
}
fi
+#################### HOOKS ####################
+
+[[ -f ~/.opam/opam-init/init.zsh ]] && source ~/.opam/opam-init/init.zsh
+
################# OS SPECIFIC #################
case $(uname) in
@@ -201,7 +205,3 @@ case $(uname) in
*)
echo -e '[-- OS UNRECOGNISED (T_T) --]'
esac
-
-#################### HOOKS ####################
-
-[[ -f ~/.zshrc-opam ]] && source ~/.zshrc-opam || true