From 77139cdc92c7fa72346b20d1f9a93a5e8c12a12d Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Thu, 8 Sep 2022 22:44:01 +0200 Subject: [PATCH] zshenv: add rbenv --- .zshenv | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.zshenv b/.zshenv index b669cf7..a8f50ce 100644 --- a/.zshenv +++ b/.zshenv @@ -49,6 +49,8 @@ export BUNDLE_USER_PLUGIN="$XDG_STATE_HOME"/bundle export PYTHONSTARTUP="$XDG_CONFIG_HOME"/pythonstartup.py export KSCRIPT_CACHE_DIR="$XDG_CACHE_HOME"/kscript +export RBENV_ROOT="$XDG_STATE_HOME"/rbenv + # Java & Android export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java" export GRADLE_USER_HOME="$XDG_STATE_HOME"/gradle @@ -69,7 +71,7 @@ mkdir -p "$XDG_STATE_HOME/zsh" # environment BIN="$HOME/.local/bin" -export PATH="$BIN/scripts:$BIN:$PATH:$XDG_CONFIG_HOME/emacs/bin:$N_PREFIX:$GOPATH/bin:$XDG_DATA_HOME/gem/ruby/3.0.0/bin:$ANDROID_SDK_ROOT/platform-tools:$CARGO_HOME/bin:$KREW_ROOT/bin" +export PATH="$BIN/scripts:$BIN:$RBENV_ROOT/shims:$PATH:$XDG_CONFIG_HOME/emacs/bin:$N_PREFIX:$GOPATH/bin:$XDG_DATA_HOME/gem/ruby/3.0.0/bin:$ANDROID_SDK_ROOT/platform-tools:$CARGO_HOME/bin:$KREW_ROOT/bin" export ALTERNATE_EDITOR="$( if which nvim >/dev/null then echo nvim