Marinus Klasen

Marinus Klasen

  • Development
  • Consultancy
  • Developer Resources
  • Blog
  • Contact

July 2, 2020

A fresh install of a Macbook Pro

Marinus Klasen

What’s the first thing you usually do when you setup a new computer? Yup – Install Chrome. This time I’ve also installed Brave and i’m actually enjoying it.

After the browser the next best thing is my password manager: 1Password. This gives me access to everything I need. Next up is:

  • WhatsApp
  • PHPStorm
  • Figma
  • Adobe Creative Cloud
  • iTerm
  • Brew
  • ZSH and Oh My Zsh
  • Node
  • MAMP Pro
  • Todoist
  • Slack
  • Spotify
  • Droplr

Configuring Oh My ZSH

There’s a couple of extensions I can’t miss for Oh My ZSH:

  • git
  • wp-cli
  • gulp docker
  • zsh-autosuggestions
  • zsh-syntax-highlighting

The last two plugins need to be installed manually by running:

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

Afterwards, you can activate the plugins by changing a line in the ~/.zshrc file, as below:

Run 'nano ~/.zshrc'
And change the contents of the plugins line to:
git wp-cli gulp docker zsh-autosuggestions zsh-syntax-highlighting

Other optimisations

  • Partition the hard drive (separate Workspace from OS)
  • Make symlinks from home folder to hard drives
  • Delete the downloads folder and create a symlink for it to /Volumes/Data/Downloads
  • Enable tap for the mousepad
  • Increase backspace speed
  • Increase arrow speed
  • iTerm:
    • Profiles -> Default -> General -> Reuse previous session’s directory
    • Profiles -> Default -> Terminal -> Unlimited scrollback
  • Set Paste and Match Style as default (https://twitter.com/marinusklasen/status/1259077017632415745)
  • Install mkcert
  • Install mailhog

MAMP Pro and WP-Cli: Setting the right PHP version for CLI

“env: mysql: No such file or directory”

To prevent this, and to generally MAMP’s PHP library in the terminal, add the following code to your ~/.zprofile file. (if it doesn’t exist, create it)

About Marinus Klasen

Marinus has been working in software/web development for more than a decade. Since 2020 his attention shifted on sharing knowledge and developing products and tools for sharing knowledge.

Marinus Klasen on Twitter

This site runs on Cloudways.
It's fast isn't it?
Cloudways offers high-quality, fast and affordable hosting.

Learn more

Need a hand? Post your project and hire me and other top notch developers on Codeable.

Hire me on Codeable

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Ready to take action?

I'm looking forward to discuss your projects and goals!
Feel free to reach out using the contact details below.

Marinus Klasen

[email protected]
twitter.com/marinusklasen
linkedin.com/in/marinusklasen

  • GitHub
  • LinkedIn
  • Twitter

Have you read?

  • Storing private data with SSH on WPEngine sitesDecember 15, 2022
  • Get the HTML content of a block edit page or post in WordPressNovember 30, 2022
  • Rename Coupon code text to Discount code in WoocommerceNovember 3, 2022
  • Background-size cover in mPDFOctober 22, 2022
  • WordPress.com SSH & duplicating a WordPress.com website locallyOctober 11, 2022

Copyright © 2023 · Marinus Klasen | Webdesign by Team Rood