From 932381030752774ba7114b9e889129412898bdd4 Mon Sep 17 00:00:00 2001 From: Joe Bloggs Date: Thu, 27 Mar 2014 17:09:45 +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 44b939a..5ff5244 100644 --- a/zsh-completions-howto.org +++ b/zsh-completions-howto.org @@ -254,7 +254,9 @@ _cmd "$@" this specifies a command line matching either SEQ1, or SEQ2 followed by SEQ2a or SEQ2b. Each specification in a sequence must contain a / PATTERN/ part at the start followed by an optional ':TAG:DESCRIPTION:ACTION' -part. Each PATTERN is a regular expression to match a word on the command line. These patterns are processed sequentially +part. + +Each PATTERN is a regular expression to match a word on the command line. These patterns are processed sequentially until we reach a pattern that doesn't match at which point any corresponding ACTION is performed to obtain completions for that word. Note that there needs to be a pattern to match the initial command itself. See below for further explanation about PATTERNs.