Skip to content

Instantly share code, notes, and snippets.

@jaymody
Last active January 11, 2023 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaymody/762417819fa017d75ff0870aa9ff0f2b to your computer and use it in GitHub Desktop.
Save jaymody/762417819fa017d75ff0870aa9ff0f2b to your computer and use it in GitHub Desktop.
Setting up https://github.com/jaymody/dotfiles in a ubuntu/debian machine.
# usage: curl -s https://gist.githubusercontent.com/jaymody/762417819fa017d75ff0870aa9ff0f2b/raw/setup.sh | sudo bash
# update and upgrade
apt update -y && apt upgrade -y
# packages
apt install -y \
ack \
coreutils \
curl \
direnv \
git \
htop \
net-tools \
sudo \
tmux \
tree \
unzip \
vim \
wget \
zip \
zsh
# install github.com/jaymody/dotfiles
# printf "B" triggers the backup all option during the install to backup existing dotfiles
# RUNZSH=no removes the interactive oh-my-zsh install
git clone https://github.com/jaymody/dotfiles.git ~/.dotfiles && \
cd ~/.dotfiles && \
printf "B" | bash link $HOME/.dotfiles/dotfiles && \
RUNZSH=no bash zsh/setup.sh && \
chsh -s $(which zsh)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment