Remove RVM, move zshenv.local load to end
This commit is contained in:
parent
d912fb54c3
commit
0f9ea84dcd
12
zshenv
12
zshenv
@ -19,11 +19,6 @@ if (( $+commands[ruby] )); then
|
|||||||
[[ -d "$gem_bin_path" ]] && path+=("$gem_bin_path")
|
[[ -d "$gem_bin_path" ]] && path+=("$gem_bin_path")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Local environment
|
|
||||||
if [[ -s ~/.zshenv.local ]]; then
|
|
||||||
source ~/.zshenv.local
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Setup go paths
|
# Setup go paths
|
||||||
if (( $+commands[go] )); then
|
if (( $+commands[go] )); then
|
||||||
local go_bin_path="$(go env GOPATH)/bin"
|
local go_bin_path="$(go env GOPATH)/bin"
|
||||||
@ -35,6 +30,7 @@ if (( $+commands[fd] )); then
|
|||||||
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
# Local environment
|
||||||
[[ -d "/usr/share/rvm/bin" ]] && path+=("/usr/share/rvm/bin")
|
if [[ -s ~/.zshenv.local ]]; then
|
||||||
[[ -d "$HOME/.rvm/bin" ]] && path+=("$HOME/.rvm/bin")
|
source ~/.zshenv.local
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user