28 lines
829 B
Bash
Executable File
28 lines
829 B
Bash
Executable File
#!/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 tmux bc
|
|
|
|
if ! command -v nvim &> /dev/null
|
|
then
|
|
sh ./build_neovim
|
|
fi
|
|
|
|
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
|
|
|
|
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
|
|
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
|
source $HOME/.bashrc
|
|
cargo install tmux-sessionizer
|
|
|
|
./ubuntu
|
|
source $HOME/.bashrc
|
|
|