Remove RVM, move zshenv.local load to end

This commit is contained in:
Daniel Lynn 2023-01-19 11:47:41 -06:00
parent d912fb54c3
commit 0f9ea84dcd
Signed by: daniel
GPG Key ID: 28496A140E180A9D

12
zshenv
View File

@ -19,11 +19,6 @@ if (( $+commands[ruby] )); then
[[ -d "$gem_bin_path" ]] && path+=("$gem_bin_path")
fi
# Local environment
if [[ -s ~/.zshenv.local ]]; then
source ~/.zshenv.local
fi
# Setup go paths
if (( $+commands[go] )); then
local go_bin_path="$(go env GOPATH)/bin"
@ -35,6 +30,7 @@ if (( $+commands[fd] )); then
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
fi
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
[[ -d "/usr/share/rvm/bin" ]] && path+=("/usr/share/rvm/bin")
[[ -d "$HOME/.rvm/bin" ]] && path+=("$HOME/.rvm/bin")
# Local environment
if [[ -s ~/.zshenv.local ]]; then
source ~/.zshenv.local
fi