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:
- 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)
Leave a Reply