The git worktree is inspired from organizing dotfiles in a git repository. The rest is just years of collecting stuff.
$ ssh-keygen -t ed25519 -C "jm@jmartin.ca" -f ~/.ssh/github
# Must use the system ssh-add instead of the one installed by Brew
$ /usr/bin/ssh-add --apple-use-keychain ~/.ssh/github
$ cat ~/.ssh/github.pub | pbcopy
- Add SSH key to GitHub.
alias home="git --work-tree=$HOME --git-dir=$HOME/.files.git"
# After loading the alias
home init
home remote add origin git@github.com:j-martin/dotfiles.git
home fetch
home checkout main
home submodule init
home submodule update
Install applications and other configurations.
$ .setup/setup.sh
Could be scripted, but involves a bunch of manual user inputs.
$ /usr/local/opt/fzf/install
#or
$ /opt/homebrew/opt/fzf/install
$ keybase pgp pull-private --all
$ cp .gitconfig.ref .gitconfig
$ cp .ssh.config .ssh/config