Skip to content

pruett/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2d65752 Β· Dec 27, 2024

History

24 Commits
Dec 27, 2024
Dec 12, 2024
Oct 3, 2024
Dec 12, 2024
Sep 27, 2024
Oct 3, 2024
Sep 27, 2024
Sep 27, 2024
Dec 19, 2024
Sep 27, 2024
Dec 12, 2024
Dec 12, 2024
Sep 28, 2024
Sep 27, 2024
Sep 27, 2024
Sep 27, 2024

Repository files navigation

New machine setup

  1. homebrew
  2. git
  3. ssh
  4. clone and install dotfiles

Installation

$ curl https://raw.githubusercontent.com/pruett/dotfiles/master/install | sh

Install Homebrew (and formulae)

Visit https://brew.sh/ and install Homebrew

Next, install homebrew formulae defined in Brewfile

$ brew bundle

Setup dotfile symlinks with stow

Use GNU Stow to manage our symlinks:

$ brew install stow
# Loop over directories and run `stow` to enable respective dotfile symlinking
$ cd ~/.dotfiles && find . -not -path '*/\.*' -maxdepth 1 -mindepth 1 -type d | sed -e 's/^\.\///'| xargs -I % sh -c 'stow %'
# Remove stow link anytime with stow -D <directory>

Finally, set up git