Skip to content

Instantly share code, notes, and snippets.

@sudermanjr
Last active May 16, 2025 21:08
Show Gist options
  • Save sudermanjr/584565dc06cad1402c1eb1e9ab015780 to your computer and use it in GitHub Desktop.
Save sudermanjr/584565dc06cad1402c1eb1e9ab015780 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
# Install Homeschick
if [ -d "$HOME/.homesick/repos/homeshick" ]; then•
git -C "$HOME/.homesick/repos/homeshick" pull
else
git clone https://github.com/andsens/homeshick.git "$HOME/.homesick/repos/homeshick"
fi
source $HOME/.homesick/repos/homeshick/homeshick.sh
# Clone dotfiles
if [ ! -d "$HOME/.homesick/repos/dotfiles" ]; then
homeshick --batch clone sudermanjr/dotfiles
fi
homeshick link dotfiles --force
# rebuild font cache
fc-cache -f -v
# install ble.sh
rm -rf "$HOME/ble.sh"
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git
make -C ble.sh install PREFIX=~/.local
# install starship
curl -LO https://starship.rs/install.sh
sha256sum install.sh | grep "56da063be2d93348b6181275b235108ad6dd39bc2c2faee053889f57666ac30a install.sh" && sh install.sh --force
rm install.sh
# install vim pathogen
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
# install atuin
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh > install-atuin.sh
sha256sum install-atuin.sh | grep "b199cba9c4436db8b80d29032cd05e1e74626344858bad2ef4c55eb564df67e9 install-atuin.sh" && sh install-atuin.sh
rm install-atuin.sh
# install python stuff
python3 -m venv ~/venv
. ~/venv/bin/activate && python3 -m pip install -r ~/venv/requirements.txt
# install kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
mv kubectl ~/bin
chmod +x ~/bin/kubectl
# install golang
curl -LO https://go.dev/dl/go1.24.3.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.24.3.linux-amd64.tar.gz
rm go1.24.3.linux-amd64.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment