- Install Apple's Command Line Tools, which are prerequisites for Git and Homebrew.
xcode-select --install
- Clone repo into new hidden directory.
git clone https://github.com/sheetd/.dotfiles.git ~/.dotfiles
- Install OMZ
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- Setup 1Password CLI (as described in the docs)
https://developer.1password.com/docs/cli/get-started/
- Run the init script to set-up links
cd ~/dotfiles
./install
- Install Homebrew, followed by the software listed in the Brewfile.
# These could also be in an install script.
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Then pass in the Brewfile location...
brew bundle
- move omz to a submodule?
- move init script to Python code
- Learn how to use
defaults
to record and restore System Preferences and other macOS configurations. - Automate symlinking and run script files with a bootstrapping tool like Dotbot.
- Revisit the list in
.zshrc
to customize the shell.
- Clone repo into new hidden directory.
git clone https://github.com/sheetd/.dotfiles.git ~/.dotfiles
-
If remote host, add
authorized_keys
file to the~/.ssh
directory -
Install OMZ
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- Run the init script to set-up links
cd ~/dotfiles
./install
- Move init script to Python code
- Add typical apt installers (omz, etc.) to script
- Clone repo into new hidden directory
# Use SSH (if set up)...
git clone git@github.com:sheetd/.dotfiles.git ~/.dotfiles-win
# ...or use HTTPS and switch remotes later.
git clone https://github.com/sheetd/.dotfiles.git ~/.dotfiles-win
- Create symlinks to config files Open a CMD terminal as admin
cd /Users/neil/
mklink /H ".gitconfig" "./.dotfiles/win/.gitconfig"
mklink /J ".ssh" "./.dotfiles/.ssh"
- Install typical apps (1password CLI)
- Typical installers (using winget?)
- replace links section with init script