Skip to content

Commit

Permalink
Merge PR #8 from dev
Browse files Browse the repository at this point in the history
fix nvm installer username issue
  • Loading branch information
ombhd authored May 11, 2022
2 parents e7e83e3 + 6b2e911 commit 2a86cbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion my_tools_installer.bash
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ ctrl_c() {
# declaring programs arrays, and another for their confirmations
progs=(valgrind node docker docker-machine minikube)
declare -a alreadyInstalledProgs
declare -a confs
export PATH=$HOME/goinfre/.brew/bin:$PATH

# remove the already installed programs from the progs array
Expand Down
5 changes: 3 additions & 2 deletions scripts/nvm_installer.bash
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ mkdir "$HOME"/goinfre/.nvm &>/dev/null
ln -s "$HOME"/goinfre/.nvm "$HOME"/.nvm &>/dev/null

# add the nvm config the shell config file
echo "\n# nvm configuration\n" >>"$shell_f"
echo 'export NVM_DIR=$HOME/.nvm' >> "$shell_f"
echo '[ -s "/goinfre/obouykou/.brew/opt/nvm/nvm.sh" ] && \. "/goinfre/obouykou/.brew/opt/nvm/nvm.sh" # This loads nvm' >> "$shell_f"
echo '[ -s "/goinfre/obouykou/.brew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/goinfre/obouykou/.brew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion' >> "$shell_f"
echo '[ -s "$HOME/goinfre/.brew/opt/nvm/nvm.sh" ] && \. "$HOME/goinfre/.brew/opt/nvm/nvm.sh" # This loads nvm' >> "$shell_f"
echo '[ -s "$HOME/goinfre/.brew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "$HOME/goinfre/.brew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion' >> "$shell_f"
# install node 16
install_loader "node 16"

Expand Down

0 comments on commit 2a86cbb

Please sign in to comment.