Skip to content

webflo/drush_zsh_completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Drush zsh completion

Drush autocomplete awesomeness for zsh.

Demo

Installation

zsh (no frameworks)

  • 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!

Antigen framework users

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!

oh-my-zsh framework users

  • 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

About

Drush ZSH Completion. Please follow on drupal.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published