From 98cae97aa17d272681882b1aada4420ce04098c5 Mon Sep 17 00:00:00 2001 From: Ralph Callaway Date: Fri, 12 Oct 2018 01:58:57 -0400 Subject: [PATCH] Fix typo example wasn't working due to typo --- zsh-completions-howto.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-completions-howto.org b/zsh-completions-howto.org index 30e986b..b996e44 100644 --- a/zsh-completions-howto.org +++ b/zsh-completions-howto.org @@ -271,7 +271,7 @@ except that it has an extra : at the start, and now all of the possible ACTION f Here is an example: #+BEGIN_SRC sh -_regex_arguments _hello /$'[^\0]##\0'/ \( /$'word1(a|b|c)\0'/ ':word:first word:(word1a word1b word1c)' '|'\ +_regex_arguments _cmd /$'[^\0]##\0'/ \( /$'word1(a|b|c)\0'/ ':word:first word:(word1a word1b word1c)' '|'\ /$'word11(a|b|c)\0'/ ':word:first word:(word11a word11b word11c)' \( /$'word2(a|b|c)\0'/ ':word:second word:(word2a word2b word2c)'\ '|' /$'word22(a|b|c)\0'/ ':word:second word:(word22a word22b word22c)' \) \) _cmd "$@"