update-alternatives

master
Dominik Madarász 2024-05-21 19:36:30 +00:00
parent 7e4aacec9a
commit 486ae0f421
1 changed files with 2 additions and 2 deletions

4
prep
View File

@ -3,8 +3,8 @@
sudo apt update && sudo apt upgrade -y sudo apt update && sudo apt upgrade -y
sudo apt install -y ripgrep build-essential git cmake fzf stow zsh sudo apt install -y ripgrep build-essential git cmake fzf stow zsh
sudo apt install -y ninja-build gettext unzip curl sudo apt install -y ninja-build gettext unzip curl
sudo update-alternatives --set editor /usr/local/bin/nvim sudo update-alternatives --install /usr/bin/editor editor /usr/local/bin/nvim 10
sudo update-alternatives --set vim /usr/local/bin/nvim sudo update-alternatives --install /usr/bin/vim vim /usr/local/bin/nvim 10
sh ./build_neovim sh ./build_neovim