Skip to content

Instantly share code, notes, and snippets.

@darjanin
Last active May 19, 2020 10:25
Show Gist options
  • Save darjanin/6553bfd205b9c7ef3f787eb977664d1d to your computer and use it in GitHub Desktop.
Save darjanin/6553bfd205b9c7ef3f787eb977664d1d to your computer and use it in GitHub Desktop.
Mac setup

New Mac Setup

Useful shortcuts

Shortcut Description
⌘⇧. Toggle hidden files

Preferences

  • Trackpad settings
    • Tap to click
    • Tracking speed 60%
    • App Expose (in more gestures)
    • Enable dragging (Accessibility > Pointer Control > Trackpad Options > Enable Dragging)
  • Turn off the Screen Saver (Desktop & Screen Saver > Screen Saver > Start after: Never)
  • Make Dock smaller (by dragging on the dividers)
  • Turn off Automatically rearrange Spaces based on most recent use (Mission Control)
  • Remove Siri from menu bar
  • Turn on Use your Apple Watch to unlock apps and your Mac (Security & Privacy)
  • Require password immediately
  • Allow apps downloaded from: App Store and identified developers
  • Turn on the firewall (Firewall tab in the Security & Privacy)
  • Show Bluetooth in menu bar (Bluetooth)
  • Show volume in menu bar (Sound)
  • Customise Control Strip… > Replace Siri with Screen Lock (Keyboard)
  • Turn off Correct spelling automatically (Tab Text in the Keyboard)
  • Turn off Capitalise words automatically (Tab Text in the Keyboard)
  • Turn off Select the previous input source (Tab Shortcuts > Input Sources) - ⌃Space is used for code completion

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Homebrew

CLI

brew install git fish starship fzf

Git fish shell Cross-Shell Prompt junegunn/fzf

Casks

brew cask install visual-studio-code google-chrome dash macs-fan-control spotify zoomus

Code Editing. Redefined Download the Fast, Secure Browser from Google Dash for macOS - API Documentation Browser, Snippet Manager - Kapeli Macs Fan Control - control fans on Apple computers, also on Windows via Boot Camp Video Conferencing, Web Conferencing, Webinars, Screen Sharing

App Store

Xcode Slack Messenger 1Password 7 - Password Manager

Setups

Terminal

Run following command after running brew install.

/usr/local/opt/fzf/install

Set fish as default shell.

echo $(which fish) | sudo tee -a /etc/shells
chsh -s `which fish`

Add the following to the end of ~/.config/fish/config.fish:

# ~/.config/fish/config.fish
starship init fish | source
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish

jorgebucaran/fisher

Add .ssh key from previous computer or some backup. I’m lazy to distribute my new ssh key to existing services. 😞 After that add the password to the keychain.

ssh-add -K ~/.ssh/id_rsa

Apps

  • Sign into 1Password
  • Sign into Slack

Visual Studio Code

Safari

  • Enable Show Develop menu in menu bar (Advanced)
  • Show website icons in tabs (Tabs)
  • Disable Open “safe” files after downloading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment