Drush autocomplete awesomeness for zsh.
-
Clone drush_zsh
git clone --branch master http://git.drupal.org/sandbox/webflo/1113394.git ~/drush_zsh
-
Load drush_zsh in your drush folder.
ln -s ~/drush_zsh/drush/drush_zsh.drush.inc ~/.drush/drush_zsh.drush.inc
-
Load drush_zsh in your ~/.zshrc (or ~/.zshrc.local). Copy & pase the following snippet.
fpath=(~/drush_zsh/zsh $fpath) autoload -U compinit compinit -i
-
Start / restart zsh
-
Have fun!
If you're using Antigen
-
add
antigen bundle webflo/drush_zsh_completion
to your.zshrc
with your other plugins. -
Load drush_zsh in your drush folder
ln -s ~/drush_zsh/drush/drush_zsh.drush.inc ~/.drush/drush_zsh.drush.inc
-
You can load it into your running zsh without needing a restart by running
antigen bundle webflo/drush_zsh_completion
-
Have fun!
-
Clone drush_zsh
git clone --branch master http://git.drupal.org/sandbox/webflo/1113394.git ~/drush_zsh
-
Load drush_zsh in your drush folder.
ln -s ~/drush_zsh/drush/drush_zsh.drush.inc ~/.drush/drush_zsh.drush.inc
-
Load drush_zsh in your oh-my-zsh plugins folder.
ln -s ~/drush_zsh/zsh ~/.oh-my-zsh/plugins/drush
-
Load drush_zsh in your ~/.zshrc. Add 'drush' to plugins()
-
Start / restart zsh
-
Have fun!
-
Clone drush_zsh via git
cd ~/drush_zsh && git pull origin master