Move sdkman init to zprofile to work with Emacs

This commit is contained in:
Jeremy Dormitzer 2022-03-29 10:30:06 -04:00
parent b31fa165f3
commit ddb1cbf96e
2 changed files with 4 additions and 4 deletions

View File

@ -5,3 +5,7 @@ ulimit -n 10240
export PATH="$PATH:/Users/jdormit/.local/bin" export PATH="$PATH:/Users/jdormit/.local/bin"
eval "$(pyenv init --path)" eval "$(pyenv init --path)"
export SYSTEM_VERSION_COMPAT=1 export SYSTEM_VERSION_COMPAT=1
#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"

View File

@ -170,7 +170,3 @@ vterm_prompt_end() {
} }
setopt PROMPT_SUBST setopt PROMPT_SUBST
PROMPT=$PROMPT'%{$(vterm_prompt_end)%}' PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'
#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"