Skip to content
/ dotfiles Public

🔘 vim, zsh, tmux dotfiles

Notifications You must be signed in to change notification settings

22a/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cute dalmatian

22a's dotfiles

Configuration files for vim, zsh, tmux, and a script to bootstrap a new machine an adequately acceptable state.

⚠ Warnings ⚠

The bootstrap script has been written with a fresh install in mind, it assumes a blank canvas. It will forcibly symlink over your dotfiles if you let it.

Installation

Install system specific build tools homebrew will need:

# macOS, this opens gui dialogs, click accept, etc.
xcode-select --install

Clone this repo:

git clone https://github.com/22a/dotfiles.git; cd dotfiles;

Run the bootstrap script:

# this will install brew as a first step, the following steps depend on the
# packages from brew so you'll need to make sure `brew` is on $PATH after the
# brew install completes. it's safe to re-run `./bootstrap.sh --all` after,
# it'll pick up where it left off

./bootstrap.sh --all

Post-install configuration

Relaunch your terminal, it'll load the zim packages.

Things you'll have to set up manually

  • Generate a new ssh key
    ssh-keygen -t ed25519 -C "[email protected]"
    • Add it to ssh-agent
      ssh-add --apple-use-keychain ~/.ssh/id_ed25519\
    • Add it to GitHub - using gh
      gh auth login
  • Update the remote for this repo so we can push changes
    git remote set-url origin [email protected]:22a/dotfiles.git
  • Populate ~/.gituser file
    [user]
      email = [email protected]
      name = Peter Meehan
      signingkey = DEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF
    where signingkey is the fingerprint for your gpg key, visible under gpg --list-keys

macOS specific manual setup steps