Oh hay!
These are dotfiles - configuration files for the shell, ssh, etc. The files are shared here so friends and colleagues take ideas or suggest changes. keep me from adding silly stuff to the files like access tokens, and to make it easier to setup new machines.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"Install 1Password and sign in. Enable the SSH agent in 1Password Settings > Developer > SSH Agent.
The dotfiles expect the agent socket at ~/.ssh/agent.sock. Create a hard link to the 1Password agent socket:
mkdir -p ~/.ssh
ln ~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ~/.ssh/agent.sockgit clone --bare https://github.com/medecau/dotfiles.git ~/.git.dfsgit --git-dir ~/.git.dfs --work-tree ~ checkoutThis may fail if existing files conflict. Back up or remove the conflicting files and retry.
The clone uses HTTPS but we need SSH for pushing:
git --git-dir ~/.git.dfs --work-tree ~ remote set-url origin git@github.com:medecau/dotfiles.gitsource ~/.zshrcThis loads everything under ~/.zshrc.d/ and starts tmux.
brew bundle --file=~/Brewfile
brew bundle --file=~/Brewfile.ws # workstation-specific packages