From 829540ce978bfba509d28d1df18dc9ee098f9488 Mon Sep 17 00:00:00 2001 From: RageCage64 Date: Mon, 22 May 2023 14:53:15 -0400 Subject: [PATCH] sudo remove --- nvim_setup.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nvim_setup.sh b/nvim_setup.sh index 5d24ea1..e38d1dc 100644 --- a/nvim_setup.sh +++ b/nvim_setup.sh @@ -1,13 +1,13 @@ -#!/usr/bin/env bash - TMP_DIR="tmp_nvim" mkdir -p ${TMP_DIR} +sudo apt install ripgrep + # Download latest nightly release of Neovim -curl -L https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz | \ - sudo tar -d ${TMP_DIR} -xzf /dev/stdin +wget --output-document=/dev/stdout https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz | \ + tar --directory ${TMP_DIR} -xzf /dev/stdin -rm -rf ~/neovim +sudo rm -rf ~/neovim sudo mv ${TMP_DIR}/nvim-linux64 ~/neovim ln -s $(pwd)/nvim ~/.config