Export and source nvm directory and bash-completion
This commit is contained in:
@@ -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 :-)"
|
||||||
|
|||||||
Reference in New Issue
Block a user