commit 1f8115b72d2d2d4d265fcb17ca51963b406738f8
parent 3db3dd1521919daa8bce1f90242d31c6c7cfc7a7
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sat, 1 May 2021 14:15:32 +0200
shell: initialize jenv when needed
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/shell/paths b/shell/paths
@@ -19,6 +19,8 @@
[ -d "$DOTFILES/tools/tuxi" ] && [ -n "${PATH##*"$DOTFILES/tools/tuxi"*}" ] && PATH="$DOTFILES/tools/tuxi:$PATH"
[ -d "$DOTFILES/tools/fzf/bin" ] && [ -n "${PATH##*"$DOTFILES/tools/fzf/bin"*}" ] && PATH="$DOTFILES/tools/fzf/bin:$PATH"
[ -d "$XDG_DATA_HOME/perl5/bin" ] && [ -n "${PATH##*"$XDG_DATA_HOME/perl5/bin"*}" ] && PATH="$XDG_DATA_HOME/perl5/bin:$PATH"
+[ -d "$HOME/.jenv/bin" ] && [ -n "${PATH##*"$HOME/.jenv/bin"*}" ] && PATH="$HOME/.jenv/bin:$PATH"
command -v rbenv 1>/dev/null 2>&1 && eval "$(rbenv init -)"
+command -v jenv 1>/dev/null 2>&1 && eval "$(jenv init -)"
export PATH