Skip to content

bowernite/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

dotfiles πŸ‘¨β€πŸ’»

My blessing… and my curse


NOTE: While this once was a dedicated place where you could find every computer/OS configuration customization, it's not quite as comprehensive anymore since I've started doing cloud backups for my entire filesystem. Moving to this saves me energy (don't need to find a way to automate it in this repository, e.g. with a shell script). It also gives me confidence that my computer, its files, config, etc. will never be lost. That being said, this repository is not a wasteland -- it still has many useful auomations, my config for things like shells and Vim, and I still put other things in here from time to time.

Installation

You may need to restart your mac between some of these steps, but if you can defer until as late in this process as possible, do so to keep the number of reboots to a minimum.

On a brand new installation of macOS:

  • sudo softwareupdate -i -a
  • xcode-select --install
  1. sudo softwareupdate -i -a (updates Apple software like Safari)
  2. xcode-select --install (install dev tools, like git and make)
  3. bash -c "`curl -fsSL https://raw.githubusercontent.com/bowernite/dotfiles/master/remote-install.sh`" (clones this repo to the machine)
  4. cd ~/src/personal/dotfiles && source bootstrap.sh
  5. Add any sensitive data to zshrc__private
export __a_secret=
  1. macos/dock.sh (sets up the dock for the first time on a new machine)

Post-Installation πŸ”¨

I try to automate everything I can, but here's everything I haven't yet (or won't at all).

Activate license keys

Go through all apps in saved Bitwarden License Keys note, and activate necessary apps with them.

One-offs 1️⃣

  • Turn off Spotlight keyboard shortcut (Alfred instead). System Preferences > Keyboard > Shortcuts > Spotlight > Uncheck spotlight search
  • Save Trello (and Slack) as "apps" from Chrome (overflow menu > More Tools > Create shortcut… > check Open as new window)
  • Rectangle ◻️: Open up Rectangle, and configure it how you'd like
  • Bartender ️🍸: Open up Bartender, and configure it how you'd like
  • Set user.email in ~/src/work/.gitconfig to work GitHub/GitLab account email (if applicable)
  • Follow the instructions here to set up iTerm theming based on macOS dark mode
    • Use the script at the bottom of the page
    • Install GitHub themes using these instructions
    • In the script, change the dark and light themes to GitHub Dark and GitHub Light (found [])

Keyboard ⌨️

Keyboard remapping is done with the Karabiner-Elements app.

  • Open up the Karabiner-Elements app > Profile > Rename the default to Goku.

Dropbox πŸ“¦

  • If you use Dropbox, open the app and log in. Make sure any preferences are set up properly.

Alfred 🎩

  • Activate Powerpack with license key (without this, it won't look at the folder you're pointing at for synced settings, so this comes first)
  • Sync settings with Dropbox using the "second mac" instructions here
  • Set non-synced settings
    • Global Alfred hotkey
    • Theme (set one for dark theme and one for light theme, based on macOS dark/light)
    • Set auto-expansion for snippets (top right checkbox in Snippets settings)
    • Set Clipboard History preservation (probably to the max time limit)
  • Make sure Alfred and its workflows have proper OS access. In Alfred's preferences, go to General > Permissions > Request Permissions, and let Alfred guide you πŸ§™β€β™‚οΈ
  • Exclude all node_modules from Spotlight: System Preferences > Spotlight > Privacy: Drag folders from Finder into the drop area. You can easily find these by triggering Alfred and querying for node_modules

Font πŸ” 

  • For use in VS Code and your terminal:
  1. Download the Dank Mono font (link to download it is in your password manager)
  2. Extract and open the downloaded zip
  3. Open the OpenType-PS directory
  4. Double click on all the fonts, and click Install Font for each

Terminal πŸ’»

  • Configure vanilla macOS Terminal app:
  1. Open Terminal
  2. Open Preferences > Profile
  3. Drag macos/terminal-theme.terminal into the pane with all of the profiles
  4. Select the font to be Dank Mono Regular, 18 pt.
  5. Elsewhere in preferences, set that to be the default theme and window
Terminal's preferences are weird and nested, and I don't want to deal with that right now, and who knows, maybe I switch to iTerm one day πŸ˜…. So this is fine for now.

GitHub πŸ™

  • Authenticate with GitHub so that you can push from the CLI
  1. Follow the instructions here to create a personal access token (you'll need to do this, since having 2FA enabled on your GitHub account prevents you from using username+password from the CLI).
  2. Copy the generated token
  3. Go to any repo that's been cloned for you in ~/src/personal/
  4. Make a small change and commit it
  5. git push
  6. Use your GitHub username (not email), and the token for the password

Apps and Websites πŸ“±

  • If you want to be thorough and get as much of the setup done now vs. things popping up later, go through all of your apps and common websites and do anything applicable from the following. This will save a lot of interruptions and annoyance in your first week or so of starting to use the apps and websites you typically use.

NOTE: These might not be necessary if you're using a Time Machine/cloud backup.

  1. Login
  2. For apps, make sure any settings are properly synced or manually set

Examples

  • Browsers
  • Music Players
  • VS Code/editor
  • Apple Apps like iMessage and Contacts
  • Super common websites, like GitHub, Google, email

Inspirations πŸ“

The Issues page on GitHub contains concrete to-dos.

Here are some places to poke around at for inspiration for things you might want to do

Just when you think you're done...

✨ https://github.com/search?q=dotfiles ✨

Resources πŸ“š