Skip to content

miguelandres/dotfiles-v2

Repository files navigation

Miguely's Dotfiles v2

Test install profiles

This is a migration of my old dotfiles to using miguelandres/dotfiles-rs as the backing for maintainability and testability.

Getting started

[ -f ~/.ssh/id_rsa ] || ssh-keygen -t rsa -b 4096 -C "[email protected]"
eval "$(ssh-agent -s)"

if [[ `uname` = "Darwin" ]]; then;
  tee ~/.ssh/config << EOF
Host *
  AddKeysToAgent yes
  UseKeychain yes
  IdentityFile ~/.ssh/id_rsa
EOF
else
tee ~/.ssh/config << EOF
Host *
  AddKeysToAgent yes
  IdentityFile ~/.ssh/id_rsa
EOF
fi

ssh-add -K ~/.ssh/id_rsa 2>/dev/null || ssh-add ~/.ssh/id_rsa

echo "Put the following key in your github account."
cat ~/.ssh/id_rsa.pub

mkdir ~/src
cd ~/src
git clone --recurse-submodules -j8 [email protected]:miguelandres/dotfiles-v2.git
cd ~/src/dotfiles-v2/

# Hackily download dotfiles from github directly.
./download.sh

# Use the hacky download to install homebrew and OhMyZsh!
./dotfiles install-homebrew
./dotfiles install-oh-my-zsh
# Remove hacky download
rm dotfiles

# Use homebrew to properly install it and get updates when available
brew tap miguelandres/homebrew-tap
brew install dotfiles-rs

Profiles and configs

Personal mac

dotfiles apply-config mac-personal-migue.yaml

Mati's mac

dotfiles apply-config mac-personal-mati.yaml

Work Mac

dotfiles apply-config mac-work.yaml

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published