2023-02-03 04:08:44 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-02-03 06:12:08 -05:00
|
|
|
# Base
|
|
|
|
sudo apt-get -y install \
|
|
|
|
btop \
|
|
|
|
byobu \
|
|
|
|
zsh \
|
2023-03-02 16:44:48 -05:00
|
|
|
sl \
|
|
|
|
kitty-terminfo \
|
2023-02-06 20:11:53 -05:00
|
|
|
nnn &&
|
|
|
|
|
|
|
|
# neovim
|
|
|
|
sudo apt-get -y install software-properties-common &&
|
|
|
|
sudo add-apt-repository -y ppa:neovim-ppa/stable &&
|
|
|
|
sudo apt-get -y update &&
|
|
|
|
sudo apt-get -y install neovim &&
|
|
|
|
sudo apt-get -y install python3-dev python3-pip &&
|
|
|
|
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60 &&
|
|
|
|
sudo update-alternatives --config vi &&
|
|
|
|
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60 &&
|
|
|
|
sudo update-alternatives --config vim &&
|
|
|
|
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60 &&
|
|
|
|
sudo update-alternatives --config editor &&
|
2023-02-03 04:08:44 -05:00
|
|
|
|
|
|
|
# Packer
|
2023-02-06 20:11:53 -05:00
|
|
|
if ! test -d ~/.local/share/nvim/site/pack/packer/start/packer.nvim; then
|
|
|
|
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
|
|
|
|
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
|
|
|
fi &&
|
2023-02-03 04:08:44 -05:00
|
|
|
|
|
|
|
# OhMyZsh
|
2023-02-06 20:11:53 -05:00
|
|
|
if ! test -d .config/zsh/ohmyzsh; then
|
|
|
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
|
|
|
fi &&
|
2023-02-03 06:18:56 -05:00
|
|
|
sudo chsh -s /bin/zsh $USER
|