Oh My Zsh

Oh My Zsh

Install ‘zsh’ for all the features offered by ‘oh-my-zsh’

Two ways to install oh-my-zsh now.
Via curl
$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
or via wget
$ sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" NOTE: Do not copy and paste the $ at the begining of the string. the $ before the sh is reprecenting the prompt.

Cloning Oh My Zsh...
Cloning into '/Users/esko.cruzeta/.oh-my-zsh'...
remote: Counting objects: 780, done.
remote: Compressing objects: 100% (646/646), done.
remote: Total 780 (delta 21), reused 694 (delta 9), pack-reused 0
Receiving objects: 100% (780/780), 523.66 KiB | 677.00 KiB/s, done.
Resolving deltas: 100% (21/21), done.
Checking connectivity... done.
Looking for an existing zsh config...
Using the Oh My Zsh template file and adding it to ~/.zshrc
Time to change your default shell to zsh!
Changing shell for <user-name>.
Password for <user-name>:
 	        __                                     __
  ____  / /_     ____ ___  __  __   ____  _____/ /_
 / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \
/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / /
\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/
                        /____/                       ....is now installed!


Please look over the ~/.zshrc file to select plugins, themes, and options.

p.s. Follow us at https://twitter.com/ohmyzsh.

p.p.s. Get stickers and t-shirts at http://shop.planetargon.com.

In order for Oh-My-Zsh to work, Zsh must be installed.

  • Please run zsh --version to confirm.
  • Expected result: zsh 5.2 or more recent

Additionally, Zsh should be set as your default shell.

  • Please run echo $SHELL from a new terminal to confirm.
  • Expected result: /bin/zsh

ZSH Settings

Before jumping into the next few sections, we need to know about ZSH settings. These are stored in a .zshrc file located in your home directory. It’s a hidden file, so you might not see it in your home directory, but you can view it by running open ~/.zshrc from the terminal. Swap out open with your favorite editor command, such as nano, subl or vim.

ZSH Plugins

  • git
    Enabled by default with Oh-My-Zsh, this enables Git aliases, tab completion and descriptions of all Git commands.
    git + tab
  • node
    Opens the Node.js API for your current version in your browser.
    node-docs http
  • npm
    Adds autocompletion to npm, displaying all npm commands.
    npm + tab
  • bower
    Adds autocompletion for Bower commands.
    bower + tab
  • brew
    Adds autocompletion and descriptions for all Brew commands.
    brew + tab
  • osx
    Enables a number of Finder commands that are accessible via the terminal.
  • extract
    Unzip all types of compressed files.
  • z
    Builds a list of your most frequent and recent — “Frecent” — folders and allows you to jump to them quickly in one command.
  • sublime
    For those who prefer Sublime Text over Textmate, this plugin is great for opening files and directories in Sublime.

Oh My Zsh
oh-my-zsh github
smash magazine

Written on July 25, 2016