From 222f291e2895a0a06ddd73eacaab0901922666c0 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 2 Mar 2016 17:15:01 +0200 Subject: [PATCH] .zshrc: Add jenv This is getting ridiculous, but sure. Signed-off-by: Alan Orth --- .zshrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.zshrc b/.zshrc index 3b549aa..4561aad 100644 --- a/.zshrc +++ b/.zshrc @@ -91,6 +91,15 @@ if [[ -d ~/.pyenv ]]; then fi fi +# Enable jenv +# See: https://github.com/gcuisinier/jenv +if [[ -d ~/.jenv ]]; then + export JENV_ROOT="$HOME/.jenv" + PATH="$JENV_ROOT/bin:$PATH" + + eval "$(jenv init -)" +fi + # If a private bin directory exists, add it to PATH [[ -d ~/bin ]] && PATH=$PATH:~/bin