diff options
| author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2025-07-18 23:26:56 +0900 |
|---|---|---|
| committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2025-07-18 23:26:56 +0900 |
| commit | 33aafecc7e9e3224e0283fe8be098ede39f48f61 (patch) | |
| tree | 8e3241dc4d09c55e891933c7aeeaebefa8c7004a /Doc/Zsh/compctl.yo | |
| parent | 53820: detect integer overflow when parsing history word designators. (diff) | |
| download | zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.gz zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.bz2 zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.lz zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.xz zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.zst zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.zip | |
53821: add missing manpage name in cross reference
and many small improvements. See comments in zman.yo for the usage
of new yodl macros for cross reference.
Diffstat (limited to 'Doc/Zsh/compctl.yo')
| -rw-r--r-- | Doc/Zsh/compctl.yo | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/Doc/Zsh/compctl.yo b/Doc/Zsh/compctl.yo index d06b31d25..bb3718339 100644 --- a/Doc/Zsh/compctl.yo +++ b/Doc/Zsh/compctl.yo @@ -134,10 +134,8 @@ the default. In other words, completion will subsequently use the options specified by the tt(-D) flag. The form with tt(-M) as the first and only option defines global -matching specifications (see -ifzman(zshcompwid)\ -ifnzman(noderef(Completion Matching Control))\ -). The match specifications given will be used for every completion +matching specifications (see sectref(Completion Matching Control)(zshcompwid)). +The match specifications given will be used for every completion attempt (only when using tt(compctl), not with the new completion system) and are tried in the order in which they are defined until one generates at least one match. E.g.: @@ -222,10 +220,7 @@ will complete names of functions, builtins, reserved words or aliases whether or not they are disabled. ) item(tt(-o))( -Names of shell options (see -ifzman(zmanref(zshoptions))\ -ifnzman(noderef(Options))\ -). +Names of shell options (see nmref(Options)(zshoptions)). ) item(tt(-v))( Names of any variable defined in the shell. @@ -301,9 +296,8 @@ globbing. Use the syntax `tt((either|or))' to match alternatives.) item(tt(-s) var(subststring))( The var(subststring) is split into words and these words are than expanded using all shell expansion mechanisms (see -ifzman(zmanref(zshexpn))\ -ifnzman(noderef(Expansion))\ -). The resulting words are taken as possible +nmref(Expansion)(zshexpn)). +The resulting words are taken as possible completions. The tt(fignore) special parameter is not applied to the resulting files. Note that tt(-g) is faster for filenames. ) @@ -540,9 +534,7 @@ item(tt(-M) var(match-spec))( This defines additional matching control specifications that should be used only when testing words for the list of flags this flag appears in. The format of the var(match-spec) string is described in -ifzman(zshcompwid)\ -ifnzman(noderef(Completion Matching Control))\ -. +sectref(Completion Matching Control)(zshcompwid). ) enditem() |
