Skip to content

tregusti/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

226 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My dotfiles

Prerequisites

git

Install with brew or apt-get or something similar.

Install

git clone https://github.com/tregusti/dotfiles ~/.dotfiles

~/.dotfiles location is mandatory for now.

cd ~/.dotfiles
./install.sh

git

~/.gitconfig is a wrapper that includes dots/common.gitconfig. It also includes:

  • ~/.gitconfig.local if present.
  • ~/.gitconfig.work if in a work repo
  • ~/.gitconfig.personal if in a personal repo

See .gitconfig for details.

For signing commits, see example config.

SSH

SSH keys are solely managed by 1Password. Setup ~/.ssh/config to point at the 1Password agent, which holds the private keys and signs on demand:

Host *
  IdentityAgent "~/Library/Group Containers/<XXXXXXX>.com.1password/t/agent.sock"

On a new machine:

  1. Enable the 1Password SSH agent (Settings → Developer → SSH Agent).
  2. Create a new per-machine key in 1Password (one key per machine, clearly named).
  3. Add its public key to GitHub as an Authentication key (and a Signing key, if signing).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors