|
|
@ -1,13 +1,13 @@
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TMP_DIR="tmp_nvim"
|
|
|
|
TMP_DIR="tmp_nvim"
|
|
|
|
mkdir -p ${TMP_DIR}
|
|
|
|
mkdir -p ${TMP_DIR}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo apt install ripgrep
|
|
|
|
|
|
|
|
|
|
|
|
# Download latest nightly release of Neovim
|
|
|
|
# Download latest nightly release of Neovim
|
|
|
|
curl -L https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz | \
|
|
|
|
wget --output-document=/dev/stdout https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz | \
|
|
|
|
sudo tar -d ${TMP_DIR} -xzf /dev/stdin
|
|
|
|
tar --directory ${TMP_DIR} -xzf /dev/stdin
|
|
|
|
|
|
|
|
|
|
|
|
rm -rf ~/neovim
|
|
|
|
sudo rm -rf ~/neovim
|
|
|
|
sudo mv ${TMP_DIR}/nvim-linux64 ~/neovim
|
|
|
|
sudo mv ${TMP_DIR}/nvim-linux64 ~/neovim
|
|
|
|
|
|
|
|
|
|
|
|
ln -s $(pwd)/nvim ~/.config
|
|
|
|
ln -s $(pwd)/nvim ~/.config
|
|
|
|