Skip to content

Instantly share code, notes, and snippets.

@cristianmiranda
Last active August 22, 2020 15:37
Show Gist options
  • Save cristianmiranda/79a325af7e0bf9d73bfd771b2a5b4c07 to your computer and use it in GitHub Desktop.
Save cristianmiranda/79a325af7e0bf9d73bfd771b2a5b4c07 to your computer and use it in GitHub Desktop.
cmiranda's dotfiles bootstrap script
# Just in case
sudo apt-get install -y git
# Grabs ssh & gpg keys
cd $HOME
BACKUP_DIR=/data/ssd/backups/manual/secrets
scp -r -P 62022 cmiranda@crismiranda.net:"${BACKUP_DIR}/.gnupg ${BACKUP_DIR}/.ssh ${BACKUP_DIR}/.cert" .
# Clones repo
WORKSPACE=$HOME/Documents/Work/Workspace
mkdir -p $WORKSPACE
cd $WORKSPACE
git clone --recursive git@github.com:cristianmiranda/dotfiles.git
# Kicks off the installation script
cd dotfiles
bash scripts/install.sh
@cristianmiranda
Copy link
Author

cristianmiranda commented Jun 13, 2020

curl -L git.io/cm.files -o /tmp/cm.files && bash /tmp/cm.files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment