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 https://github.com/robbyrussell/oh-my-zsh and it’s plethora of zsh plugins I now have a powerful shell with many new features.
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:
c composer csu composer self-update cu composer update ci composer install ccp composer create-project cget installs composer on the current path
I’m sure everyone knows
git now, right? This plugin provides aliases to the most commonly used git commands:
g git gsh git status gl git pull gp git push gcmsg git commit -m gcm git checkout master gb git branch ga git add gm git merge
A full list of the git plugin aliases can be found at https://github.com/robbyrussell/oh-my-zsh/wiki/Plugin:git
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
The OSX plugin provides aliases and functionality for those using Apple’s OSX OS.
tab open the current directory in a new tab pfd return the path of the frontmost Finder window pfs return the current Finder selection cdf cd to the current Finder directory pushdf pushd to the current Finder directory quick-look quick Look a specified file man-preview open a specified man page in Preview trash move a specified file to the Trash
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.
Based in Staffordshire, UK