Last active
February 15, 2024 17:10
-
-
Save AntonClaesson/a90200b3517b8569cb0ce4b993b4f308 to your computer and use it in GitHub Desktop.
setup-linux-wget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 "$(wget -O - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended | |
# Setup dotfiles | |
rm ~/.bashrc ~/.zshrc | |
bash <(wget -O - 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