Skip to content

Instantly share code, notes, and snippets.

@AntonClaesson
Last active February 15, 2024 17:11
Show Gist options
  • Save AntonClaesson/8a08ae6a11224c5b1d2acb2f92a508c8 to your computer and use it in GitHub Desktop.
Save AntonClaesson/8a08ae6a11224c5b1d2acb2f92a508c8 to your computer and use it in GitHub Desktop.
setup-linux-curl
# Install deps
apt update && apt-get update
apt-get -y install git tmux vim
apt -y install zsh
# Select zsh as default shell
chsh -s $(which zsh)
# Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
# Setup dotfiles
rm ~/.bashrc ~/.zshrc
bash <(curl -sSL https://gist.githubusercontent.com/AntonClaesson/43fdfb0893ca50ef20fae20b685bd7d2/raw/)
# Setup tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux new-session -d
tmux source ~/.config/tmux/tmux.conf
tmux kill-session
# Install powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
# Run to reload shell
exec zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment