iTerm2 + Oh My Zsh + Auto suggestions + powerline + [Powerlevel9k] - (macOS)

> brew cask install iterm2
Or, if you do not have homebrew (you should ;)): Download and install iTerm2


iTerm2 has better color fidelity than the built in Terminal, so your themes will look better.

Oh My Zsh

More info here: -

Install with curl
> sh -c "$(curl -fsSL"

when the installation is done, you can review the config file ~/.zshrc 

Auto suggestions (for Oh My Zsh)

Just follow these steps:

If the auto suggestions do not appear to show, it could be a problem with your color scheme. Under "iTerm → Preferences → Colors tab", check the value of Black Bright, that is the color your auto suggestions will have. It will be displayed on top of the Background color. If there is not enough contrast between the two, you won't see the suggestions even if they're actually there..

1. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)
> git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

2. Add the plugin to the list of plugins for Oh My Zsh to load (edit ~/.zshrc):

> plugins=(zsh-autosuggestions)

3. Start a new terminal session.

* OR macOS via Homebrew

1. Install the zsh-autosuggestions package using Homebrew.
> brew install zsh-autosuggestions

2. Add the following to your .zshrc:

> source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh

3. Start a new terminal session.


To install this theme for use in Oh-My-Zsh, clone this repository into your OMZ custom/themes directory.
> git clone ~/.oh-my-zsh/custom/themes/powerlevel9k

Then edit your ~/.zshrc and update 


owerlevel9k offers a whole lot more, best is to check out these user made configs yourself.


Others @ powerline fonts >

- Suggestions font: Meslo (

Open the downloaded font and press "Install Font".

Set this font in iTerm2 (14px is my personal preference) (iTerm → Preferences → Profiles → Text → Change Font).

Restart iTerm2 for all changes to take effect.

Syntax highlighting
> brew install zsh-syntax-highlighting

If you do not have or do not like homebrew, follow the installation instructions instead.

After installation through homebrew, add
> source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

to the end of your .zshrc file. After that, it's best to restart your terminal. Sourcing your ~/.zshrc does not seem to work well with this plugin. If you use Ruby on Rails, read on more.

Install RVM
- Official document - via:
> gpg --keyserver hkp:// --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
> curl -sSL | bash -s stable
> source ~/.rvm/scripts/rvm
> type rvm | head -n 1
> rvm list known
> rvm install ruby-2.5.1
> rvm use 2.5.1
> rvm use 2.5.1 --default