__ _ _ / _(_) | ___ ___ | |_| | |/ _ \/ __| _ | _| | | __/\__ \ (_) |_| |_|_|\___||___/
-
Clone the bare repo
git clone --bare [email protected]:tylerbrostrom/dotfiles $HOME/.dotfiles.git
-
Checkout files
git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME checkout
-
Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Install dependencies specified by
~/.Brewfile
zsh beer up
-
Install Fonts
Instead of git
, use dotf
.
-
It’s just an alias for
git
(whereGIT_DIR=$HOME/.dotfiles
andGIT_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
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
- @durdn for the write-up: How to store dotfiles