add config for sdkman and nvm
This commit is contained in:
parent
d9f1170230
commit
788d4d05b6
2 changed files with 8 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
alias vi="vim"
|
alias vi="vim"
|
||||||
|
export SDKMAN_DIR="/your/home/directory/.sdkman"
|
||||||
|
|
||||||
# set prompt color
|
# set prompt color
|
||||||
PROMPT_COLOR="blue"
|
PROMPT_COLOR="blue"
|
||||||
|
|
|
@ -70,3 +70,10 @@ if _has ruby;
|
||||||
then
|
then
|
||||||
export PATH="$PATH:$(ruby -e 'print Gem.user_dir')/bin"
|
export PATH="$PATH:$(ruby -e 'print Gem.user_dir')/bin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||||
|
[[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/sdkman-init.sh"
|
||||||
|
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
Loading…
Add table
Reference in a new issue