summaryrefslogtreecommitdiff
path: root/kshrc
diff options
context:
space:
mode:
Diffstat (limited to 'kshrc')
-rw-r--r--kshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/kshrc b/kshrc
index 695619b..7096857 100644
--- a/kshrc
+++ b/kshrc
@@ -13,6 +13,9 @@ alias f-commit="fossil commit && fossil git export"
PS1='$(git branch 2> /dev/null | grep "^\*" | colrm 1 2 | sed -e "s/$/./")${PWD##*/} '
alias jrnl='stitch -t :journal:'
+if [ -x "$(command -v opam)" ]; then
+ eval $(opam env)
+fi
eval "$(direnv export bash)"
eval "$(zoxide init posix --hook prompt)"