Press "Enter" to skip to content

Ultimate terminal setup. iTerm, zsh, Oh-my-zsh

bist 0

iTerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with macOS 10.14 or newer. iTerm2 brings the terminal into the modern age with features you never knew you always wanted.

Install Oh My Zsh

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

1sh -c "$(curl -fsSL"


Install zsh-autosuggestions

Fish-like fast/unobtrusive autosuggestions for zsh. It suggests commands as you type based on history and completions.

1git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

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

nano ~/.zshrc plugins=(git zsh-autosuggestions)

Start a new terminal session.

Install zsh-syntax-highlighting using Oh-my-zsh (Preferred)

This package provides syntax highlighting for the shell zsh. It enables highlighting of commands whilst they are typed at a zsh prompt into an interactive terminal. This helps in reviewing commands before running them, particularly in catching syntax errors.

Clone this repository in oh-my-zsh’s plugins directory:

1git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

Activate the plugin in ~/.zshrc:

plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

Start a new terminal session.

Leave a Reply

Your email address will not be published. Required fields are marked *