aboutsummaryrefslogtreecommitdiffstats
path: root/zsh-completions-howto.org
diff options
context:
space:
mode:
authorRalph Callaway <ralph@callawaycloudconsulting.com>2018-10-12 01:58:57 -0400
committerGitHub <noreply@github.com>2018-10-12 01:58:57 -0400
commit98cae97aa17d272681882b1aada4420ce04098c5 (patch)
tree2be412e59e0e273a68ddbe63d5e61aa6a836799c /zsh-completions-howto.org
parentMerge pull request #594 from mikkeloscar/update-golang-111 (diff)
downloadzsh-completions-98cae97aa17d272681882b1aada4420ce04098c5.tar
zsh-completions-98cae97aa17d272681882b1aada4420ce04098c5.tar.gz
zsh-completions-98cae97aa17d272681882b1aada4420ce04098c5.tar.bz2
zsh-completions-98cae97aa17d272681882b1aada4420ce04098c5.tar.lz
zsh-completions-98cae97aa17d272681882b1aada4420ce04098c5.tar.xz
zsh-completions-98cae97aa17d272681882b1aada4420ce04098c5.tar.zst
zsh-completions-98cae97aa17d272681882b1aada4420ce04098c5.zip
Fix typo
example wasn't working due to typo
Diffstat (limited to 'zsh-completions-howto.org')
-rw-r--r--zsh-completions-howto.org2
1 files changed, 1 insertions, 1 deletions
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 "$@"