feat: add sdkman
This commit is contained in:
parent
6d45d2f0cd
commit
9d82a465f4
5
.bashrc
5
.bashrc
@ -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
6
.zshrc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user