Skip to content

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

Notifications You must be signed in to change notification settings

psychoticlabrat/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 [email protected]:tylerbrostrom/dotfiles $HOME/.dotfiles.git
  2. Checkout files

    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. Install dependencies specified by ~/.Brewfile

    zsh
    beer up
  5. Install Fonts

Making Changes

Instead of git, use dotf.

  • It’s just an alias for git (where GIT_DIR=$HOME/.dotfiles and GIT_WORK_TREE=$HOME)

    dotf status
    dotf commit -v
  • Git aliases still work

    dotf st
    dotf ci
  • Works regardless of current working directory

  • Zsh completions still work

Managing Dependencies

Instead of brew, use beer.

beer - Manage global Homebrew dependencies specified by ~/.Brewfile

USAGE:
beer up       Upgrade outdated deps; install missing deps
beer sync     Remove unspecified deps; install missing deps
beer check    Check for outdated, missing, or unspecified deps
beer ls       List deps by type: formula, cask, tap
beer ls-tree  List formulas and their dependencies

Acknowledgements

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 89.7%
  • Shell 7.3%
  • Ruby 3.0%