Plugins - chriswk/oh-my-zsh GitHub Wiki
Enable the plugins you want by editing your ~/.zshrc file. Example:
plugins=(rails3 git ruby)
Completion plugins will let zsh know which arguments the package has so it can autocomplete. For instance, if you have the Homebrew plugin installed and type:
brew in
.. and then hit tab, the brew-plugin will enable autocompletion to brew install. Completion plugins are not documented further on this page as they only provide better introspection for zsh into the original command. man is your friend.
You should always read the source for the plugin before using it to avoid surprises. Plugins are located in ~/.oh-my-zsh/plugins.
The following plugins are bundled:
Maintainer: robbyrussell
Enables aliases to control a local Apache2 installed via Macports.
Start Apache:
apache2start
Stop Apache:
apache2stop
Restart Apache:
apache2restart
Maintainer: Benjamin Boudreau
Enabled aliases for pacman (replace pac by ya for yaourt)
Install specific package(s) from the repositories
pacin='sudo pacman -S'
Install specific package not from the repositories but from a file
pacins='sudo pacman -U'
Remove the specified package(s), retaining its configuration(s) and required dependencies
pacre='sudo pacman -R'
Remove the specified package(s), its configuration(s) and unneeded dependencies
pacrem='sudo pacman -Rns'
Display information about a given package in the repositories
pacrep='pacman -Si'
Search for package(s) in the repositories
pacreps='pacman -Ss'
Display information about a given package in the local database
pacloc='pacman -Qi'
Search for package(s) in the local database
paclocs='pacman -Qs'
Update and refresh the local package and ABS databases against repositories
pacupd='sudo pacman -Sy && sudo abs'
Install given package(s) as dependencies of another package
pacinsd='sudo pacman -S --asdeps'
Force refresh of all package lists after updating /etc/pacman.d/mirrorlist
pacmir='sudo pacman -Syy'
List all installed packages with a short description - Source
paclist
List all orphaned packages
paclsorphans
Delete all orphaned packages
pacrmorphans
List all disowned files in your system
pacdisowned | less +F
Will enable autojump if installed with homebrew or macports.
This does not add any commands on its own.
Maintainer: robbyrussell
-
brews: list installed brews
Adds the brew install directories to your path in front of /usr/bin.
After brew update, run brew-link-completion to make a symlink to the official zsh completion file that comes with brew into your oh-my-zsh brew plugin directory.
Completion plugin for the Homebrew OS X package manager.
Maintainer: robbyrussell
Enables aliases to Bundler.
Bundle exec, execute a command in the context of the bundle
be [command]
Bundle install
bi
Bundle update
bu
Maintainer: [PabloSerbo][PabloSerbo]
Commands for Cake, the coffee-script build tool.
- cake -- auto complete for cake tasks
Maintainer: robbyrussell
Commands for Capistrano, a deployment tool built in Ruby.
- cap -- a few commands for Capistrano, a deployment tool built in Ruby
Maintainer: robbyrussell
Only for Ubuntu: If a command is not recognized in the $PATH, this will use Ubuntu's command-not-found package to find it or suggest spelling mistakes:
~$ gedit
The program 'gedit' is currently not installed. You can install it by typing:
sudo apt-get install gedit
bash: gedit: command not found
The plugin uses the command-not-found package zsh support.
Maintainer: matthewmccullough
Uploads files and piped contents to the Cloudapp service. Outputs and copies the resultant URL to the clipboard. Uses the cloudapp ruby gem from @holman.
Maintainer: robbyrussell
Completion for human beings. Further documentation needed
Maintainer: robbyrussell
Completion plugin for cpanminus (see [[https://github.com/rshhh/cpanminus/blob/master/etc/cpanm]])
Maintainer: robbyrussell
A set of aliases to work with the Debian Advanced Packaging Tool, apt.
Search for packages
as [search term]
Update packages
ad
Upgrade packages
au
Install packages
ai [packages to install]
Remove package
ar [package to remove]
Apt policy
ap
Show package info
av [package name]
Search packages
acs [search term]
Clean apt cache
ac
Maintainer: robbyrussell
Maintainer: robbyrussell
- dirpersist
Maintainer: [santiycr][santiycr]
- fab - completion plugin for fabric
- gas - completion plugin for the gas gem
Maintainer: robbyrussell
- gem - completion plugin for the gem command
Maintainer: robbyrussell
- gpg-agent - starts gpg-agent (with ssh support) if not running and includes its environment variables
Maintainer: robbyrussell
- git - adds a lot of git aliases ( gx e.g. gd - git diff) and functions for pulling for dealing with the current branch
Maintainer: robbyrussell
- git-flow - Support for git-flow completion
Maintainer: robbyrussell
- github - adds autocomplete to the github gem installable via gem install github-gem
Maintainer: matthewmccullough
Adds autocompletion of task names and option switches to command line use of gradle by actually executing gradle tasks in the background and collecting the result.
Caches the result of the task names in a .gradletasknamecache file that is regenerated if the timestamp of the build.gradle file changes.
Maintainer: zachriggle
Adds tab-completion of Grails script names to the command line use of grails. Looks for scripts in the following paths:
$GRAILS_HOME/scripts~/.grails/scripts./scripts./plugins/*/scripts
Maintainer: robbyrussell
Maintainer: robbyrussell
- lighthouse - open lighthouse tickets using the command open_lighthouse_ticket ( see http://screencast.com/t/ZDgwNDUwNT
Maintainer: robbyrussell
- lol - brings lulz to your zsh (based on lolbash)
Maintainer: robbyrussell
- macports - adds "port" command completion and aliases for running macports commands
Maintainer: robbyrussell
- mysql - aliases for starting stopping and getting mysql status ( mysqlstart, mysqlstop, mysqlstatus)
-
node-api [SECTION]: open the node api, for your current version, in your browser. Note: This usesopenwhich comes with OS X. This needs to be re-factored to work on other platforms.
Maintainer: robbyrussell
Maintainer: robbyrussell
-
showfiles/hidefiles: show/hide hidden files in Finder -
rm-dsstore: recursively remove.DS_Storefiles from the current directory -
tab- open the current directory in a new tab via the tab command
Maintainer: robbyrussell
- perl - useful shortcuts for perlbrew, perldoc, and perl one-liners
Maintainer: robbyrussell
- phing - auto complete for phing targets.
Maintainer: robbyrussell
- pip - completion plugin for the pip command
-
kapow: helper function to touchtmp/restart.txt, restarting an application in pow.
Maintainer: robbyrussell
- rails - rails 2.3 commands (mostly) for running scripts
Maintainer: robbyrussell
Maintainer: robbyrussell
Maintainer: robbyrussell
- ruby - alias for sudo gem ( sgem ) and a find ruby files in directory alias ( rfind )
-
rb18 [GEMSET]: shortcut forrvm use ruby-1.8.7-p334@GEMSET(with gemset completion) -
rb19 [GEMSET]: shortcut forrvm use ruby-1.9.2-p180@GEMSET(with gemset completion) -
rubies: list installed rubies -
gemsets: list gemsets for currently active ruby -
gems: list gems available in currently active gemset Note: This has opinions about colors. It should be re-factored to be customizable in themes.
After rvm-update (alias for rvm get head; rvm reload), run rvm-link-completion to make a symlink to the official zsh completion file that comes with rvm into your oh-my-zsh rvm plugin directory.
Maintainer: robbyrussell
- ssh-agent - cygwin ssh-agent plugin for starting agent (see - http://www.cygwin.com/ml/cygwin/2001-06/msg00537.html )
Maintainer: robbyrussell
Maintainer: andrewtch
Symfony2 autocomplete plugin; binds to app/console, and not ./console command!
Maintainer: philippbosch
terminitor is a tool that "automates your development workflow setup".
- terminitor – auto complete for terminitor commands and scripts
Maintainer: robbyrussell
- textmate - aliases for opening rails apps without the cruft, also has tm function which cd's to the folder and opens mate
Completions for thor
Maintainer: robbyrussell
- vagrant - autocompletion for Vagrant commands, task names, box names and built-in handy documentation. All in one place.
Maintainer: robbyrussell
- vi-mode
Maintainer: robbyrussell