Useful Oh-My-Zsh plugins

Posted by Andrew McCombe on Sun May 3, 2015

I’ve been using zsh as a replacement shell on both my Ubuntu laptop and my work Macbook for a while. Coupled with Robby Russell’s excellent Oh-My-Zsh and it’s plethora of zsh plugins I now have a powerful shell with many new features.

Oh-My-Zsh describes itself as a ‘community driven framework for managing your zsh configuration’ and comes with lots of zsh plugins (189 currently) but none are enabled by default. Some zsh plugins are tailored for your specific operating system whilst others are aimed at helping improve developers workflow. Wether you’re using Ruby, Python, PHP or Javascript as your main language or you’re a systems administrator, there will be a plugin to help. The full list of zsh plugins is available at, Here are the zsh plugins I’m currently using:


Only for use with Ubuntu and openSUSE. If a command isn’t found in your $PATH it wull use the system command-not-found package to find it.


If you’re a PHP developer then I’m sure you use Composer a lot. This plugin provides shortcuts to some of Composer’s commands:


I’m sure everyone knows git now, right? This plugin provides aliases to the most commonly used git commands:

A full list of the git plugin aliases can be found at


Simply adds autocompletion to the npm command. Type npm (space) and press tab to get autocompletion for the available npm commands. Note Be prepared for a long wait when using autocompletion with npm search.


The OSX plugin provides aliases and functionality for those using Apple’s OSX OS.


This is one of those plugins that becomes a must have after a short period of using it. Simply hitting ESC twice puts sudo in front of the current command, or the last one if your cli is empty. Genius!


This plugin adds autocomplete help to the vagrant commands. For example, entering vagrant box followed by tab shows help for management of vagrant boxes.