diff --git a/.vim/undodir/%home%rmaco%projects%setup%install.sh b/.vim/undodir/%home%rmaco%projects%setup%install.sh index 20b6992..ff4671b 100644 Binary files a/.vim/undodir/%home%rmaco%projects%setup%install.sh and b/.vim/undodir/%home%rmaco%projects%setup%install.sh differ diff --git a/install.sh b/install.sh index f6d55ef..59cb2b4 100644 --- a/install.sh +++ b/install.sh @@ -27,8 +27,11 @@ fi echo "----- Downloading NVIM -----" if [[ "$OSTYPE" == "linux-gnu"* ]]; then curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz - tar xzf nvim-linux64.tar.gz - usr/ + sudo rm -rf /opt/nvim + sudo tar -C /opt -xzf nvim-linux64.tar.gz + echo 'export PATH="$PATH:/opt/nvim-linux64/bin"' >> ~/.bashrc + . ~/.bashrc + elif [[ "$OSTYPE" == "darwin"* ]]; then if [ -d "$HOME/Applications/nvim" ]; then echo "[Skipped] NVIM already installed"