Skip to content

Instantly share code, notes, and snippets.

@rubystream
Created October 6, 2018 16:28
Show Gist options
  • Save rubystream/cc5f19d4bbe9c7082d1ab77341a365d0 to your computer and use it in GitHub Desktop.
Save rubystream/cc5f19d4bbe9c7082d1ab77341a365d0 to your computer and use it in GitHub Desktop.

Setup Terminal on MacBook pro

You will need Powerline fonts that you can install from here https://github.com/powerline/fonts. Afterwards you should update your fonts in iTerm2.

iTerm2

brew cask install iterm2

zsh

# install
brew install zsh zsh-completions

# this gives you your path to zsh
which zsh

# make zsh your default shell
chsh -s $(which zsh)

Oh My Zsh

Oh My Zsh is an open source, community-driven framework for managing your zsh configuration.

URL: https://github.com/robbyrussell/oh-my-zsh

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

Change zsh theme to:

ZSH_THEME="bira"

Install zsh-syntax-highlighting from https://github.com/zsh-users/zsh-syntax-highlighting

Install zsh-autosuggestions from https://github.com/zsh-users/zsh-autosuggestions

In `~/.zshrc add the following plugins

plugins=(
  zsh-syntax-highlighting
  git
  docker
  osx
  iterm2
  jsontools
  zsh-autosuggestions
)

tmux

# install 
brew install tmux

# config

Install statusbar configuration for tmux that looks like vim-powerline and consist of dynamic segments from https://github.com/erikw/tmux-powerline

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