From c85afb39a2df7ba47bcde7b609201ec6bd4c9494 Mon Sep 17 00:00:00 2001 From: Joe Bloggs Date: Wed, 9 Jul 2014 00:52:05 +0100 Subject: [PATCH] update --- zsh-completions-howto.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh-completions-howto.org b/zsh-completions-howto.org index d95f575..2629ea2 100644 --- a/zsh-completions-howto.org +++ b/zsh-completions-howto.org @@ -478,6 +478,8 @@ e.g: opts=( \( SPEC1 \# \| SPEC2 \) ). If you are splitting arguments to one of the helper functions over several lines using \'s remember to remove all whitespace after the \'s, and don't put a \ on the final line. + +Make sure you define variables in the correct order (so if $b_opts depends on $a_opts, $a_opts should come before $b_opts in the file). * Tips ** ensuring the option description is displayed even if its the only one Sometimes you have a situation where there is just one option that can come after a subcommand, and zsh will complete this