Set up lightweight bootstrap script
issmirnov opened this issue · comments
Ivan Smirnov commented
Sometimes I'm using a lightweight system that i don't want to ansible up. Set up a simple shell script to manually install what I need.
Ivan Smirnov commented
AMD system:
Proposed usage:
- URL: https://smirnov.link/ds
- maybe provide
amd
flag?
- maybe provide
The script:
# install core tools
sudo apt install -y zsh vim fzf fasd tmux silversearcher-ag python locate
# install bat
wget https://github.com/sharkdp/bat/releases/download/v0.15.4/bat_0.15.4_amd64.deb && sudo dpkg -i bat*.deb
# install cheat
wget https://github.com/cheat/cheat/releases/download/4.0.2/cheat-linux-amd64.gz && dpkg -i c
# manually clone fzf
sudo mkdir -p /opt/fzf
sudo chown $USER /opt/fzf
sudo git clone https://github.com/junegunn/fzf.git /opt/fzf
# download dotfiles
wget -O- smirnov.link/d | sh
# initialize locate db
sudo updatedb
Ivan Smirnov commented