#!/bin/bash sudo apt update && sudo apt upgrade -y sudo apt install -y ripgrep build-essential git cmake fzf stow zsh sudo apt install -y ninja-build gettext unzip curl 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 if ! command -v nvim &> /dev/null then sh ./build_neovim fi curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash 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 nvm install --lts git clone --depth 1 https://github.com/wbthomason/packer.nvim\ ~/.local/share/nvim/site/pack/packer/start/packer.nvim ./ubuntu