Skip to content

A bare-repository setup for managing my MacBook’s dotfiles

Notifications You must be signed in to change notification settings

tylerbrostrom/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

      __ _ _           
     / _(_) | ___  ___ 
    | |_| | |/ _ \/ __|
 _  |  _| | |  __/\__ \
(_) |_| |_|_|\___||___/
                       

Setup

  1. Clone the bare repo

    git clone --bare git@github.com:tylerbrostrom/dotfiles $HOME/.dotfiles.git
  2. Checkout files

    Be sure to move/backup any files which would be overwritten by the following checkout!

    git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME checkout
  3. Install Homebrew

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  4. Open a new shell and install dependencies specified by ~/.Brewfile

    zsh
    brew bundle -g install
  5. Install Fonts

Making Changes

Use dotf instead of git

  • dotf is a shell alias for git where GIT_DIR=$HOME/.dotfiles.git and GIT_WORK_TREE=$HOME

    dotf status
    dotf commit -v
  • git aliases still work too

    dotf st
    dotf ci

Acknowledgements

About

A bare-repository setup for managing my MacBook’s dotfiles

Topics

Resources

Stars

Watchers

Forks