Skip to content

Opinionated automation scripts to set up macOS.

License

Notifications You must be signed in to change notification settings

paulkiley/mac-setup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacOS automated setup


Opinionated automation shell scripts to set up macOS. The script does the following:

  • Installs Homebrew.
  • Restores current backup:
    • dotfiles (.config folder, .zprofile, .zshrc)
    • VSCodium settings.json and installed extensions.
    • Installed packages by Homebrew on a Brewfile.
  • Changes some macOS default preferences:
    • Dock: Autohide, Recents disabled
    • Finder: Show file extensions, show hidden files, show path bar, list view default, keep folders on top, search scope to current folder.
    • Spaces: Disable rearrange Spaces automatically, group by app in mission control.
    • Security: Enables firewall.
  • Sets Fish as default shell

Instructions

For the automated setup, run:

git clone https://github.com/Jaycedam/mac-setup.git && cd mac-setup && bash main.sh

It will prompt you to install Xcode Command Line Tools if you don't have git.

✅ Apple Sillicon on Ventura
✅ Apple Sillicon on Sonoma

Manual settings

Some settings must be changed manually due to API limitation or lack of Apple documentation.

  • Lock screen: Set required password after screen is off to inmediatly for security reasons.
  • Safari: Enable hide my ip and disable telemetry in Privacy tab.
  • Change Keyboard Shortcut Move focus to next window to ⌘| to enable changing instances of the same app (necessary on Latam Keyboard), available on Keyboard - Keyboard Shortcuts - Keyboard.

Update the backup:

Just run bash backup.sh to update the backup files. It will create a backup of everything listed in the previous section. If you're going to modify the list of packages to install, make sure to remove its dependencies on the different script modules. You will need Homebrew to backup your current packages, or you can edit the Brewfile directly.

Credit

About

Opinionated automation scripts to set up macOS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 94.1%
  • Ruby 5.9%