config/shell: add rvm
This commit is contained in:
parent
ec58c138cc
commit
c5fcb1d3a8
|
@ -126,3 +126,7 @@ cat "$_stackspin_cluster_cache" 2>/dev/null |
|
||||||
while read cluster; do stack select "$cluster"; done
|
while read cluster; do stack select "$cluster"; done
|
||||||
|
|
||||||
test "$PWD" = "$HOME" && cde "$PROJECTS/ampache-docker"
|
test "$PWD" = "$HOME" && cde "$PROJECTS/ampache-docker"
|
||||||
|
|
||||||
|
test -f "$HOME/.rvm/scripts/rvm" &&
|
||||||
|
source "$HOME/.rvm/scripts/rvm" && # Load RVM into a shell session *as a function*
|
||||||
|
rvm use 3.0
|
||||||
|
|
2
.zshenv
2
.zshenv
|
@ -73,7 +73,7 @@ mkdir -p "$XDG_STATE_HOME/zsh"
|
||||||
|
|
||||||
# environment
|
# environment
|
||||||
BIN="$HOME/.local/bin"
|
BIN="$HOME/.local/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 PATH="$BIN/scripts:$BIN:$RBENV_ROOT/shims:$PATH:$XDG_CONFIG_HOME/emacs/bin:$N_PREFIX:$GOPATH/bin:$ANDROID_SDK_ROOT/platform-tools:$CARGO_HOME/bin:$KREW_ROOT/bin:$XDG_DATA_HOME/gem/ruby/3.0.0/bin:$HOME/.rvm/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