dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Simple script to set up my new computer

Dotfiles 2.0

Making it myself instead of forking an existing repo.

Steps to use it

  1. Install Dropbox
  2. Allow the computer to install Rosetta, if you're on a M1 mac
  3. Give Dropbox permissions via accessibility, and allow it to send notifications
  4. Sign into Dropbox
  5. Allow it to sync ten jillion files
  6. Open the App store and sign in
  7. If on M1 mac, copy the Terminal app, name it "ARM Terminal", edit its info, and check "Open using Rosetta"
  8. Open Terminal (or ARM terminal)
  9. mkdir ~/.ssh && cd ~/.ssh
  10. Copy id_rsa and id_rsa.pub from another machine, or create a new SSH key and add it to GitHub & Forge etc. If copying from another computer, chmod 600 ~/.ssh/id_rsa; chmod 600 ~/.ssh/id_rsa.pub
  11. Create a GitHub personal access token for logging in from the command line.. Give it just full repo access. Save that token in a text file or something.
  12. Type git, hit enter, and follow the prompts to install the command line developer tools
  13. Type git clone https://github.com/mattstauffer/dotfiles.git dotfiles, hit enter
  14. Type cd dotfiles, hit enter
  15. Type ./bin/install.sh, hit enter
  16. Profit?

Inspirations/conversations

  • Ian Landsman
  • Andrew Morgan
  • Jose Soto

TODO

  • Figure out how to symlink some elements from ~/.hammerspoon directory in if possible (remember, the lua watcher doesn't catch changes to symlinked files)
  • Add Goku and start Goku config, and symlink Goku config