Amir Sharif
Engineer.
Weekend hacker.
Self improvement enthusiast.

Setting Up A New Macbook

Here’s how I setup my new Macbook.

Installing Applications

  1. Install Dropbox which I try to sync as many things to as possible.
  2. Install Google Chrome. I use Chrome Sync to keep as many settings synced across machines.
  3. Extensions 1. QuickTabs
  4. Install BitWarden and Authy for password management.
  5. Install Alfred. See How I Use Alfred
  6. Install Spotify.
  7. Install VS Code. See How I Use VS Code
  8. Install Nota.
  9. Install Qbserve.
  10. Install iTerm2. See How I Use iTerm
  11. Install Notion.
  12. Install GitHub Desktop.
  13. Install Slack.
  14. Install Stretchly.
  15. Install Cleanshot X.
  16. Install USB Overdrive.
  17. Install TablePlus.
  18. Install xbar.

Configuring Mac OSX

These settings are a subset of what I found on this blog post.

#1. Disable animations when opening and closing windows.
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
#2. Disable animations when opening a Quick Look window.
defaults write -g QLPanelAnimationDuration -float 0
#3. Accelerated playback when adjusting the window size (Cocoa applications).
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
#4. Disable animation when opening the Info window in Finder (cmd⌘ + i).
defaults write com.apple.finder DisableAllAnimations -bool true
#5. Disable animations when you open an application from the Dock.
defaults write com.apple.dock launchanim -bool false
#6. Make all animations faster that are used by Mission Control.
defaults write com.apple.dock expose-animation-duration -float 0.1
#7. Disable the delay when you hide the Dock
defaults write com.apple.Dock autohide-delay -float 0
#9. Disable the standard delay in rendering a Web page.
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.25
# 10. Show hidden files. Allows editing hidden files too.
defaults write com.apple.finder AppleShowAllFiles -bool YES

Turn off the default Date / Time and replace it with itsycal.

  1. System Preference > Control Center > Show date.
  2. Change to Analog instead of Digital.

Add new Keyboard shortcuts:

  • I remap Capslock to Control key so it’s more accessible.
  • I remap most Cmd+Shift+[ keys to Alt+[ (and equivalent) so it requires less use of the pinky finger.

Install the fonts I like to use.

  1. JetBrains Mono

Setting up my terminal

  1. Install oh-my-zsh.
  2. I back up my iTerm configuration with Dropbox. iTerm configuration to backup
  3. Install Command Line Utils:
  4. fzf
  5. jq
  6. diff-so-fancy
  7. itermocil

Setup Git

You’ll probably want to setup GitHub.

  1. Visit https://github.com/settings/tokens to generate a PAS. You’ll need it when you use git clone
  2. Use VS Code for Git edits: git config --global core.editor "code --wait"


Date
October 26, 2022