How to Get a Better Development Experience on Your Mac

Setting up iTerm2, ZSH, and VS Code for optimal performance and aesthetic

Make coding look pretty

Install iTerm2

Set the iTerm2 tab theme to Dark

Preferences > Appearance > Tabs > Theme > Dark

Install ZSH

What is ZSH

How to install ZSH

brew install zsh

Oh-My-ZSH

sh -c “$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)”

Fonts, Colors, and Plugins

Set Font

Download Color Theme

Snazzy color theme

Install Pure Prompt

ZSH Pure prompt
npm install —global pure-prompt
# .zshrc
ZSH_THEME=""
npm install --global pure-prompt# oh-my-zsh overrides the prompt, so Pure must be activated after `source $ZSH/oh-my-zsh.sh`
# .zshrc
autoload -U promptinit; promptinit
prompt pure

Syntax Highlighting

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

Autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

Trash Plugin

npm install — global trash-cli

Update the Plugins List

# .zshrc
plugins=(
git
brew
common-aliases
node
npm
rand-quote
sudo
yarn
z
colored-man-pages
colorize
cp
zsh-syntax-highlighting
zsh-autosuggestions
)

Visual Studio Code

VS Code with the Snazzy theme installed

Theme

Settings

{
"editor.fontFamily": "Fira Code",
"extensions.ignoreRecommendations": true,
"editor.minimap.enabled": false,
"editor.renderWhitespace": "all",
"workbench.sideBar.location": "left",
"workbench.statusBar.visible": true,
"editor.fontLigatures": true,
"files.autoSave": "onFocusChange",
"editor.cursorSmoothCaretAnimation": true,
"editor.fontSize": 14,
"editor.formatOnPaste": true,
"python.pythonPath": "/usr/local/bin/python3",
"workbench.colorTheme": "Snazzy Operator",
"workbench.iconTheme": "material-icon-theme"
}

writing about life, culture, and technology.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store