- Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
- In
~/.zshrc
(per https://git-scm.com/book/en/v2/Appendix-A%3A-Git-in-Other-Environments-Git-in-Zsh):autoload -Uz compinit && compinit autoload -Uz vcs_info precmd_vcs_info() { vcs_info } precmd_functions+=( precmd_vcs_info ) setopt prompt_subst RPROMPT=\$vcs_info_msg_0_ zstyle ':vcs_info:git:*' formats '%b'
- In
brew install vim
- Install Ruby
brew install chruby
- In
~/.zshrc
:source /usr/local/share/chruby/chruby.sh source /usr/local/share/chruby/auto.sh
- In
brew install ruby-install
ruby-install ruby-2.7.0
echo 'ruby-2.7.0' > ~/.ruby-version
- Install Node.js
brew tap tkareine/chnode
brew install tkareine/chnode/chnode
- In
~/.zshrc
:source /usr/local/share/chnode/chnode.sh source /usr/local/share/chnode/auto.sh precmd_functions+=(chnode_auto)
- In
brew install node-build
node-build 13.5.0 ~/.nodes/node-13.5.0
echo 'node-13.5.0' > ~/.node-version
- Install Yarn
curl -o- -L https://yarnpkg.com/install.sh | bash
- Set up SSH keys
- Per https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
ssh-keygen -t rsa -b 4096 -C tom@mycomputer
ssh-add -K
- Create
~/.ssh/config
:Host * AddKeysToAgent yes UseKeychain yes Compression yes
- Add new key to https://github.com/settings/keys
- Add new key to https://bitbucket.org/account/user/tomstuart/ssh-keys/
- Symlink dotfiles
.gemrc
.gitconfig
.gitignore
.screenrc
.vimrc
- System Preferences
- Desktop & Screen Saver
- Screen Saver
- Start after: Never
- Screen Saver
- Dock
- enable Automatically hide and show the Dock
- disable Show recent applications in Dock
- Mission Control
- Hot Corners…
- top right: Desktop
- bottom right: Mission Control
- Hot Corners…
- Siri
- disable Show Siri in menu bar
- Siri Suggestions & Privacy
- disable Safari -> Show Siri Suggestions in App
- Accessibility
- Zoom
- enable Use scroll gesture with modifier keys to zoom
- Advanced -> Appearance -> Continuously with pointer
- Pointer Control -> Trackpad Options -> Enable dragging -> three finger drag
- Zoom
- Security & Privacy
- General
- Require password: immediately
- enable Use your Apple Watch to unlock apps and your Mac
- General
- Sound
- enable Sound Effects -> Show volume in menu bar
- Keyboard
- Keyboard
- Key repeat: Fast
- Delay Until Repeat: Short
- Modifier Keys -> Caps Lock Key: Control
- Text
- disable Correct spelling automatically
- disable Capitalise words automatically
- disable Add full stop with double-space
- disable Use smart quotes and dashes
- Shortcuts
- Use keyboard navigation to move focus between controls
- Dictation
- Dictation: Off
- Keyboard
- Trackpad
- Point & Click
- disable Look up & data detectors
- enable Tap to click
- Tracking speed: 8/10
- Scroll & Zoom
- disable Zoom in or out
- disable Smart zoom
- disable Rotate
- More Gestures
- disable Swipe between pages
- disable Swipe between full-screen apps
- disable Notification Centre
- disable Mission Control
- disable Launchpad
- disable Show Desktop
- Point & Click
- Displays
- Night Shift -> Schedule: Sunset to Sunrise
- Date & Time
- Clock
- enable Show date
- Clock
- Desktop & Screen Saver
- Terminal preferences
- Profiles -> Pro
- enable Default
- Text -> Background -> Colour & Effects -> Opacity: 100%
- Shell -> When the shell exits: Close if the shell exited cleanly
- Profiles -> Pro
- Install 1Password from https://1password.com/downloads/mac/
- Sync vault (license in vault is autodetected)
- Set up email & calendar accounts
- Install Bartender from https://www.macbartender.com/
- License key is in 1Password
- Preferences
- General -> Open Bartender at login
- Menu Items
- 1Password: hide
- Airplay Displays: hide
- Notification Centre: always hide
- Spotlight: always hide
- Volume: hide
- Install AdBlock for Safari from https://getadblock.com/safari/
- Disable “acceptable ads”
- Disable AdBlock Icon extension
- Install Slack from https://slack.com/download
- Safari
- disable pref Websites -> Notifications -> Allow websites to ask for permission to send notifications
- disable pref Autofill -> Using information from my contacts, Usernames and passwords, Credit cards, Other forms
- enable pref Advanced -> Show Develop menu in menu bar
- Default encoding: UTF-8
- View -> Show Status Bar
- Disable smooth scrolling (e.g. animated page up/down in Safari)
defaults write NSGlobalDomain NSScrollAnimationEnabled -bool false
- Menu bar
- Battery (if exists)
- Show Percentage
- cmd-drag clock to the top right
- Battery (if exists)
- Dock
- add Documents
- add Terminal
- add Slack
- Finder
- View -> Show Path Bar
- Desktop
- View -> Show View Options
- Sort By: Date Modified
- View -> Show View Options
- Preferences
- General
- enable Hark disks
- enable Connected servers
- New Finder windows show: home directory
- disable Open folders in tabs instead of new windows
- Sidebar
- enable Movies
- enable home directory
- disable Recent Tags
- Advanced
- disable Show warning before emptying the Bin
- General
- Messages
- Edit -> Spelling and Grammar -> disable Correct Spelling Automatically
- Edit -> Substitutions -> disable Smart Copy/Paste, Smart Quotes, Text Replacement -> Emoji
- Notes
- Edit -> Spelling and Grammar -> disable Correct Spelling Automatically
- Edit -> Substitutions -> disable Smart Copy/Paste, Smart Quotes, Smart Dashes
Created
January 19, 2020 15:43
-
-
Save tomstuart/9647817a2bb60110e83b4e72c50126d9 to your computer and use it in GitHub Desktop.
Setting up macOS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment