Skip to content

Instantly share code, notes, and snippets.

@kenjij
Created April 11, 2020 02:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenjij/f974c6c50675c80e232162b5d5fef757 to your computer and use it in GitHub Desktop.
Save kenjij/f974c6c50675c80e232162b5d5fef757 to your computer and use it in GitHub Desktop.
macOS Terminal Setup

Install Homebrew

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

Install Oh My ZSH!

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Enable plugins in .zshrc, like:

plugins=(
  aws
  dotenv
  git
  osx
  ruby
  rvm
)

Install iTerm2

brew cask install iterm2

Optional Dropdown Terminal Configuration

Create new profile "Dropdown" with the following configuration.

  • Window > Columns: 128, Rows: 32
  • Window > Style: Top of Screen
  • Window > Screen: Main Screen
  • Window > Space: All Spaces
  • Window > "Force this profile to always open in a window…"
  • Window > Style: Top of Screen
  • Keys > Hotkey Window: check
  • Keys Configure Hotkey Window > Hotkey: ctrl + cmd + `
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

Set theme in .zshrc, like:

ZSH_THEME="powerlevel10k/powerlevel10k"

Run configuration wizard:

p10k configure

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment