Skip to content

Dev environment setup 🍽️

License

Notifications You must be signed in to change notification settings

sheetd/.dotfiles

Repository files navigation

Dotfiles

Clone repo into new hidden directory.

git clone https://github.com/sheetd/.dotfiles.git ~/.dotfiles

Mac Setup

  1. Install Apple's Command Line Tools, which are prerequisites for Git and Homebrew.
xcode-select --install
  1. Install OMZ
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  1. Setup 1Password CLI (as described in the docs)

https://developer.1password.com/docs/cli/get-started/

  1. Run the init script to set-up links
cd ~/dotfiles
./install
  1. 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

Linux Setup

  1. Clone repo into new hidden directory.
git clone https://github.com/sheetd/.dotfiles.git ~/.dotfiles
  1. If remote host, add authorized_keys file to the ~/.ssh directory

  2. Install OMZ

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  1. Run the init script to set-up links
cd ~/dotfiles
./install
  1. Install typical apps using apt
  • iperf3

Windows Setup

  1. Run the install script

  2. Install typical apps (1password CLI) using winget

Upgrading dotbot module

  • create a new git branch
  • cd ~/.dotfiles
  • git submodule update --remote
  • commit a change to the branch
  • merge the branch back to main

TODO

  • Make links work on Windows
  • move omz to a submodule?
  • Learn how to use defaults to record and restore System Preferences and other macOS configurations.
  • Revisit the list in .zshrc to customize the shell.

About

Dev environment setup 🍽️

Resources

License

Stars

Watchers

Forks

Packages

No packages published