From 90d9164d6c06dd351a1666aafeb340e21c48a172 Mon Sep 17 00:00:00 2001 From: Joe Bloggs Date: Thu, 27 Mar 2014 14:13:54 +0000 Subject: [PATCH] update --- zsh-completions-howto.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh-completions-howto.org b/zsh-completions-howto.org index 40e4583..8c69a0e 100644 --- a/zsh-completions-howto.org +++ b/zsh-completions-howto.org @@ -240,7 +240,9 @@ _cmd "$@" The OTHER_ARGS should be sequences of specifications for matching & completing words on the command line. These sequences can be separated by '|' to represent alternative sequences of words. -You can use bracketing to arbitrary depth to specify alternate subsequences. +You can use bracketing to arbitrary depth to specify alternate subsequences, but the brackets must be quoted +like this \( \) or '(' ')'. + For example: #+BEGIN_SRC sh _regex_arguments _cmd SEQ1 '|' SEQ2 \( SEQ2a '|' SEQ2b \)