fixed linux install

This commit is contained in:
radumacocian
2024-08-18 22:41:58 +02:00
parent 626e30ea4e
commit e6bbcadbd1
2 changed files with 5 additions and 2 deletions

View File

@@ -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"