Drush ZSH Completion. Please follow on drupal.org
PHP Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 3 commits behind webflo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
drush
README.md
_drush
drush.plugin.zsh

README.md

Drush zsh completion

Drush autocomplete awesomeness for zsh.

Demo

Installation (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!

Installation (oh-my-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 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!

Updates

  • Clone drush_zsh via git

      cd ~/drush_zsh && git pull origin master
    

Requirements