Development Environment | Mac OS X
  • Introduction
  • System
    • Installation
    • System Preferences
    • Applications
  • Console
    • Terms
    • Homebrew
      • Commands
      • Cask
    • iTerm2
      • Zsh
      • Oh My Zsh
  • Git
    • Git
    • Git Aliases
    • Github
  • NodeJs
    • NodeJs
    • npm
  • IDE
    • Visual Studio Code
  • Cheatsheet
    • Terminal
Powered by GitBook
On this page
  • Getting Started
  • Prerequisites
  • Basic Installation
  • Using Oh My Zsh
  • Plugins
  • Themes
  1. Console
  2. iTerm2

Oh My Zsh

PreviousZshNextGit

Last updated 6 years ago

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

Getting Started

Prerequisites

  • Zsh should be installed (v4.3.9 or more recent)

  • curl or wget should be installed

  • git should be installed

Basic Installation

via curl

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

via wget

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

Using Oh My Zsh

Plugins

Oh My Zsh comes with a shitload of plugins to take advantage of. You can take a look in the directory and/or the to see what's currently available.

Enabling Plugins Once you spot a plugin (or several) that you'd like to use with Oh My Zsh, you'll need to enable them in the .zshrc file. You'll find the zshrc file in your $HOME directory. Open it with your favorite text editor and you'll see a spot to list all the plugins you want to load.

vim ~/.zshrc
plugins=(
  git
  vscode
)

Themes

To use theme, need to edit the ~/.zshrc file.

ZSH_THEME="robbyrussell"

To use a different theme, simply change the value to match the name of your desired theme.

Install Powerlevel9k

To install this theme for use in Oh-My-Zsh, clone this repository into your OMZ custom/themes directory.

git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k

Select this theme in ~/.zshrc:

ZSH_THEME="powerlevel9k/powerlevel9k"

Configurations

To use configuration, need to edit the ~/.zshrcf ile.

List of themes can be found .

plugins
wiki
git
vscode
here
punctual-zsh-theme
mavam's Configuration