Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 1.38 KB

README.org

File metadata and controls

55 lines (44 loc) · 1.38 KB

dotfiles

The git worktree is inspired from organizing dotfiles in a git repository. The rest is just years of collecting stuff.

Create and add SSH Key passphrase to keyring

$ 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

Initial dotfiles installation

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

Setup and configuration

Install applications and other configurations.

$ .setup/setup.sh

Manual Steps

Could be scripted, but involves a bunch of manual user inputs.

FZF

$ /usr/local/opt/fzf/install
#or
$ /opt/homebrew/opt/fzf/install

Load GPG Key

$ keybase pgp pull-private --all

Copy .gitconfig

$ cp .gitconfig.ref .gitconfig
$ cp .ssh.config .ssh/config