Skip to content

AlecRust/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles Lint Scripts

My macOS setup.

Install

  1. In Finder press cmd + shift + . to show hidden files then restore backup files (optional)

  2. Install Homebrew

  3. Clone to a suitable location (if not restored from backup):

    git clone https://github.com/AlecRust/dotfiles ~/projects/personal/dotfiles
  4. Run the setup script:

    ~/projects/personal/dotfiles/setup.sh
  5. Complete manual steps

Manual Steps

  1. Modify macOS settings

    • In Finder sidebar enable home directory and device name item, disable Tags and add ~/projects to Favorites
    • Map key to Ctrl at Keyboard > Keyboard Shortcuts > Modifier Keys
    • Disable "Add full stop with double-space" at Keyboard > Text Input > Input Sources
    • Enable "Show Percentage" in Control Centre settings
    • Enable "Remote Login" in Sharing for SSH access
    • Search for and add printer in "Printers & Scanners"
  2. Set up remote connections

    • Set up GitHub connection with gh auth login
    • Import GPG keys or create with gpg --full-generate-key and add to GitHub
    • Set up Heroku connection with heroku login and heroku keys:add
    • Set up 1Password connection with op account add
    • Copy SSH keys from each machine on local network with ssh-copy-id
  3. Set up other apps

    • Import Raycast settings from Nextcloud
    • Disable "Hardware Media Key Handling" at brave://flags
    • Enable "Show features for web developers" at Safari > Settings > Advanced
    • Sourcetree
      • General: Disable modifying of global .gitconfig
      • General: Set terminal app to Warp
      • General: Enable "Open links on GitHub.com with Sourcetree"
      • Diff: Set font to Fira Code 12pt
      • Diff: Set diff tool to Kaleidoscope
      • Diff: Remove Gemfile.lock from "Ignore File Patterns"
      • Git: Click "Use System Git" and select /opt/homebrew/bin/git
      • Git: Enable "Use rebase instead of merge by default for tracked branches"
      • Advanced: Enable "Allow force push"
    • Kaleidoscope
      • Set font to Fira Code 12pt
      • Set terminal app to Warp
    • Install Sonos S2 app

Backup Files

Backup these files/folders from old machine and restore on new machine:

  • ~/.config
  • ~/.extra
  • ~/.ssh
  • ~/.zsh_history
  • ~/docker
  • ~/Downloads
  • ~/Desktop
  • ~/Nextcloud
  • ~/projects
  • Exported GPG keys
  • Exported Local sites

About

My macOS setup.

Topics

Resources

Stars

Watchers

Forks

Languages