diff --git a/.shrc b/.shrc index 1a88010..e7cfb42 100644 --- a/.shrc +++ b/.shrc @@ -9,7 +9,3 @@ export PATH="$PATH:/opt/nvim-linux64/bin" export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:~/go/bin -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 - diff --git a/install.sh b/install.sh index 33f414b..63e7d3b 100644 --- a/install.sh +++ b/install.sh @@ -14,5 +14,5 @@ then fi curl -LO https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz -rm -rf /usr/local/go && tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz +sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz