Export and source nvm directory and bash-completion

This commit is contained in:
2022-03-08 10:54:14 +01:00
parent 5ae4298525
commit e5a3c8f3d1

View File

@@ -55,5 +55,8 @@ sdk install gradle 7.4
# install nvm to manage nodejs # install nvm to manage nodejs
curl -s https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | /bin/bash curl -s https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | /bin/bash
nvm install node nvm install node
export NVM_DIR="$XDG_CONFIG_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
echo "ready for work :-)" echo "ready for work :-)"