zshenv: add rbenv
This commit is contained in:
parent
a564bc2336
commit
77139cdc92
4
.zshenv
4
.zshenv
|
@ -49,6 +49,8 @@ export BUNDLE_USER_PLUGIN="$XDG_STATE_HOME"/bundle
|
||||||
export PYTHONSTARTUP="$XDG_CONFIG_HOME"/pythonstartup.py
|
export PYTHONSTARTUP="$XDG_CONFIG_HOME"/pythonstartup.py
|
||||||
export KSCRIPT_CACHE_DIR="$XDG_CACHE_HOME"/kscript
|
export KSCRIPT_CACHE_DIR="$XDG_CACHE_HOME"/kscript
|
||||||
|
|
||||||
|
export RBENV_ROOT="$XDG_STATE_HOME"/rbenv
|
||||||
|
|
||||||
# Java & Android
|
# Java & Android
|
||||||
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java"
|
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java"
|
||||||
export GRADLE_USER_HOME="$XDG_STATE_HOME"/gradle
|
export GRADLE_USER_HOME="$XDG_STATE_HOME"/gradle
|
||||||
|
@ -69,7 +71,7 @@ mkdir -p "$XDG_STATE_HOME/zsh"
|
||||||
|
|
||||||
# environment
|
# environment
|
||||||
BIN="$HOME/.local/bin"
|
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="$(
|
export ALTERNATE_EDITOR="$(
|
||||||
if which nvim >/dev/null
|
if which nvim >/dev/null
|
||||||
then echo nvim
|
then echo nvim
|
||||||
|
|
Loading…
Reference in New Issue