Skip to content

whitte-h/dotenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To update brew dependencies

  1. in this directory rm Brewfile && brew bundle dump --describe

Steps to bootstrap a new Mac

  1. Install Apple's Command Line Tools, which are prerequisites for Git and Homebrew.
xcode-select --install
  1. Clone repo into new hidden directory.
git clone https://github.com/xaeli/dotenv.git ~/.dotfiles
  1. Create symlinks in the Home directory to the real files in the repo.
  run install.sh
  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)" |
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/whitte/.zprofile |
eval "$(/opt/homebrew/bin/brew shellenv)"

Then pass in the Brewfile location...

brew bundle --file ~/.dotfiles/Brewfile

...or move to the directory first.

cd ~/.dotfiles && brew bundle

TODO List

  • Learn how to use defaults to record and restore System Preferences and other macOS configurations.
  • Organize these growing steps into multiple script files.
  • Automate symlinking and run script files with a bootstrapping tool like Dotbot.
  • Revisit the list in .zshrc to customize the shell.
  • Make a checklist of steps to decommission your computer before wiping your hard drive.
  • Create a bootable USB installer for macOS.
  • Integrate other cloud services into your Dotfiles process (Dropbox, Google Drive, etc.).
  • Find inspiration and examples in other Dotfiles repositories at dotfiles.github.io.
  • And last, but hopefully not least, take my course, Dotfiles from Start to Finish-ish!

Thank You!

I offer the most massive of thanks to Jeff for giving me a few minutes on his stage. Please thank him for me by liking, sharing, subscribing, and taking a look at fireship.io

dot env mac config

About

dot env mac config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published