zshenv: add rbenv

This commit is contained in:
xeruf 2022-09-08 22:44:01 +02:00
parent a564bc2336
commit 77139cdc92
1 changed files with 3 additions and 1 deletions

View File

@ -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