From ede4cbb388079e22aa92da305872c28f9731c89f Mon Sep 17 00:00:00 2001 From: George Lesica Date: Wed, 2 Dec 2015 12:21:45 -0700 Subject: [PATCH] Update readme with zsh instructions for completions. --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 5102f8be..60f34622 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,21 @@ fi Next time you load a Bash session you'll have basic completions for the `ddev` alias described above. +#### Zsh Completion + +The Bash completion script will work for Zsh as well, but requires a little +configuration. The following lines must all be found somewhere (and in this +order, though they needn't be adjacent to one another) in your `.zshrc` file, +or a file sourced from it: + +``` +autoload -U compinit +compinit +autoload -U bashcompinit +bashcompinit +source +``` + #### Configuration In order to configure `dart_dev` for a specific project, run `ddev init` or `pub run dart_dev init` to generate the configuration file. This should create a