feat: add sdkman

This commit is contained in:
max_richter 2021-01-20 21:03:39 +01:00
parent 6d45d2f0cd
commit 9d82a465f4
2 changed files with 11 additions and 2 deletions

View File

@ -120,3 +120,8 @@ alias vim='nvim'
alias vim='nvim' alias vim='nvim'
alias vim='nvim' alias vim='nvim'
alias vim='nvim' alias vim='nvim'
alias vim='nvim'
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="/home/jim/.sdkman"
[[ -s "/home/jim/.sdkman/bin/sdkman-init.sh" ]] && source "/home/jim/.sdkman/bin/sdkman-init.sh"

6
.zshrc
View File

@ -35,11 +35,15 @@ export PATH="$PATH:$HOME/.yarn/bin"
export PATH="$PATH:$HOME/.local/bin" export PATH="$PATH:$HOME/.local/bin"
export PATH="$PATH:$HOME/go/bin" export PATH="$PATH:$HOME/go/bin"
export GOROOT="$HOME/go"
export GOPATH="$HOME/SYNC"
export PATH="$PATH:$GOROOT/bin"
eval "$(direnv hook zsh)" eval "$(direnv hook zsh)"
#Java version manager #Java version manager
export SDKMAN_DIR="$HOME/.sdkman" export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/jim/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" [[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/sdkman-init.sh"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh