Skip to content

Instantly share code, notes, and snippets.

@dayvough
Last active May 3, 2016 17:28
Show Gist options
  • Save dayvough/0f50d12e0ae7c94e4303468579f7697b to your computer and use it in GitHub Desktop.
Save dayvough/0f50d12e0ae7c94e4303468579f7697b to your computer and use it in GitHub Desktop.

Pimp My Terminal

We’ll move from bash to zsh.
Install iTerm2 instead of using Terminal for more configurability.
And try to install tmux and vim.

Installation

  1. Download iTerm2
https://www.iterm2.com
  1. Install zsh
$ brew install zsh zsh-completions
  1. Install oh-my-zsh
$ curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
  1. Switch from bash to zsh
$ chsh -s /usr/local/bin/zsh
  1. Fix RVM path
$ nano ~/.zshrc
look for: export PATH="/path/to/something"
change to: export PATH=“$PATH:/path/to/something"
  1. Install Powerline fonts
https://github.com/powerline/fonts
change Settings > Profiles > Text: Non-ASCII Font to a Roboto Mono Light
$ echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699"
  1. Install Bullet Train ohmyzsh theme
http://raw.github.com/caiogondim/bullet-train-oh-my-zsh-theme/master/bullet-train.zsh-theme
$ mkdir $ZSH_CUSTOM/themes/
move bullet-train.zsh-theme to $ZSH_CUSTOM/themes/
$ nano ~/.zshrc > ZSH_THEME=“bullet-train"
restart iTerm2
  1. Choose a colour scheme
https://github.com/mbadolato/iTerm2-Color-Schemes/tarball/master
change Settings > Profiles > Colours > Import Presets > navigate to iTerm2-Color-Schemes/schemes > Load all .itermcolors files
go wild

Todo

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