2024-05-21 09:24:01 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-05-21 10:19:40 +00:00
|
|
|
sudo apt update && sudo apt upgrade -y
|
2024-05-21 18:59:08 +00:00
|
|
|
sudo apt install -y ripgrep build-essential git cmake fzf stow zsh
|
|
|
|
sudo apt install -y ninja-build gettext unzip curl
|
2024-05-21 19:38:44 +00:00
|
|
|
sudo update-alternatives --install /usr/bin/editor editor /usr/local/bin/nvim 1000
|
|
|
|
sudo update-alternatives --install /usr/bin/vim vim /usr/local/bin/nvim 1000
|
2024-05-21 18:59:08 +00:00
|
|
|
|
2024-05-21 20:24:18 +00:00
|
|
|
if ! command -v nvim &> /dev/null
|
2024-05-21 20:23:46 +00:00
|
|
|
then
|
2024-05-21 20:21:29 +00:00
|
|
|
sh ./build_neovim
|
|
|
|
fi
|
2024-05-21 10:30:13 +00:00
|
|
|
|
2024-05-21 19:09:32 +00:00
|
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
|
2024-05-21 20:26:41 +00:00
|
|
|
export NVM_DIR="$HOME/.nvm"
|
|
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
|
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
2024-05-21 19:09:32 +00:00
|
|
|
nvm install latest
|
|
|
|
|
2024-05-21 10:30:13 +00:00
|
|
|
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
|
|
|
|
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
|
|
|
|
2024-05-21 20:26:41 +00:00
|
|
|
./ubuntu
|