scripts to install neovim and nvchad
This commit is contained in:
parent
7fcf02f968
commit
85d31b4e87
1
nvchad.sh
Executable file
1
nvchad.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
git clone git@gitea.hptrow.me:pt/nvchad ~/.config/nvim
|
20
nvim_build.sh
Executable file
20
nvim_build.sh
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip
|
||||||
|
|
||||||
|
# Clone the Neovim repository
|
||||||
|
git clone https://github.com/neovim/neovim.git ~/neovim
|
||||||
|
|
||||||
|
# Navigate into the Neovim directory
|
||||||
|
cd ~/neovim
|
||||||
|
|
||||||
|
# Checkout the latest release tag
|
||||||
|
git checkout $(git describe --tags --abbrev=0)
|
||||||
|
|
||||||
|
# Build and install Neovim
|
||||||
|
make CMAKE_BUILD_TYPE=Release
|
||||||
|
sudo make install
|
||||||
|
|
||||||
|
cd -
|
Loading…
Reference in New Issue
Block a user