Skip to content

webflo/drush_zsh_completion

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
zsh
 
 
 
 

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