Use manual JAVA_HOME setting instead of SDKMAN to manage jvm version
This commit is contained in:
parent
02717edb9a
commit
172953e7b7
@ -4,5 +4,6 @@ if [[ -f "/opt/homebrew/bin/brew" ]]; then
|
|||||||
fi
|
fi
|
||||||
export PATH="$PATH:/Users/jdormit/.local/bin"
|
export PATH="$PATH:/Users/jdormit/.local/bin"
|
||||||
eval "$(pyenv init --path)"
|
eval "$(pyenv init --path)"
|
||||||
|
[[ -d "/opt/homebrew/opt/openjdk@17" ]] && export JAVA_HOME="/opt/homebrew/opt/openjdk@17"
|
||||||
export SYSTEM_VERSION_COMPAT=1
|
export SYSTEM_VERSION_COMPAT=1
|
||||||
ulimit -n 524288
|
ulimit -n 524288
|
||||||
|
@ -28,8 +28,4 @@ if [ -d "/opt/homebrew/Caskroom/google-cloud-sdk" ]; then
|
|||||||
source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc"
|
source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
|
||||||
export SDKMAN_DIR="$HOME/.sdkman"
|
|
||||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
|
||||||
path=("$SDKMAN_DIR/candidates/java/current/bin" "$path[@]")
|
|
||||||
[[ -e "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"
|
[[ -e "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"
|
||||||
|
@ -175,6 +175,4 @@ vterm_prompt_end() {
|
|||||||
setopt PROMPT_SUBST
|
setopt PROMPT_SUBST
|
||||||
PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'
|
PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'
|
||||||
|
|
||||||
path=("$SDKMAN_DIR/candidates/java/current/bin" "$path[@]")
|
|
||||||
|
|
||||||
[[ -f "$HOME/.zshrc-spotify" ]] && source "$HOME/.zshrc-spotify"
|
[[ -f "$HOME/.zshrc-spotify" ]] && source "$HOME/.zshrc-spotify"
|
||||||
|
Loading…
Reference in New Issue
Block a user