dotfiles/prep

25 lines
803 B
Plaintext
Raw Normal View History

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
2024-05-21 21:27:06 +00:00
sudo apt install -y ninja-build gettext unzip curl tmux
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 20:30:16 +00:00
nvm install --lts
2024-05-21 19:09:32 +00:00
2024-05-21 21:27:06 +00:00
curl https://sh.rustup.rs -sSf | sh -s -- -y
cargo install tmux-sessionizer
2024-05-21 20:26:41 +00:00
./ubuntu
2024-05-21 20:49:06 +00:00
source $HOME/.bashrc