I like to setup macOS my way. A companion git repo, [new-mac](https://github.com/aikchar/new-mac), helps me automate the process to some extent. [TOC] # Typeface / Font I like two fonts / typefaces for coding: [Hack](https://sourcefoundry.org/hack/) and [Source Code Pro](https://github.com/adobe-fonts/source-code-pro). # iTerm2 I use [iTerm2](https://iterm2.com/) terminal emulator. I use its [Iterm Themes gallery](https://iterm2colorschemes.com/) to find my favorite theme, which these days is [Jetbrains Dracula](https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/JetBrains%20Darcula.itermcolors). # Visual Studio Code I really like [VS Code](https://code.visualstudio.com/) with its various extensions. # Homebrew I was partial to [MacPorts](https://www.macports.org/) for the longest time. But since I switched to [Homebrew](https://brew.sh/), I haven't looked back. # Firefox I use [Firefox](https://www.mozilla.org/en-US/firefox/new/) everywhere. # Shell Since macOS switched to zsh I'm using it with [Oh My Zsh](https://ohmyz.sh/) with the _bira_ theme. # direnv [direnv](https://direnv.net/) is such an awesome tool. It allows me to configure directory specific environment variables. # Linters - [black](https://pypi.org/project/black/) - `go fmt` - [shellcheck](https://www.shellcheck.net/) - `terraform fmt` # Spaces macOS introduced virtual desktops, aka [Spaces](https://support.apple.com/guide/mac-help/work-in-multiple-spaces-mh14112/mac), a while ago. I have four permanent spaces for these categories: - Coding (terminal, editor, etc.) and general (Finder, etc.) - Web browser - Email and calendar - Instant messages (Slack, Mattermost, Teams, etc.) and conferencing (Zoom, etc.) # Finder Settings - Add frequently access folders in Sidebar - [Show dot files](https://apple.stackexchange.com/a/250646) - Show Path Bar - Show Status Bar - Change "New Finder windows show" to show my repositories directory - Show hard disks, external disks, and connected servers on the desktop # AirDrop Set "Allow me to be discovered by" to "No One" by default. # Notifications Enable the following in "Allow notifications", - When the display is sleeping - When the screen is locked - When mirroring or sharing the display "Show previews" is set to "when unlocked". # Battery Under "Power Adapter" I enable these, - Prevent your Mac from automatically sleeping when the display is off - Wake for network access And I disable these, - Put hard disks to sleep when possible (makes sure Time Machine backups can run if they take a long time) - Low power mode # Hot Corners I set the top right to "Start Screen Saver". This helps me quickly lock the screen when I'm moving away from the computer.