diff options
| author | Lawrence Velázquez <larryv@zsh.org> | 2025-06-11 22:41:27 -0400 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2025-11-12 08:30:16 +0100 |
| commit | 87fa6d7f055f97eb027f213a8234e2e74f0a02c0 (patch) | |
| tree | 1e7eb922cdf2a4b76752201268fd2851df7218ba | |
| parent | 54071: fix prompt colour completion (diff) | |
| download | zsh-87fa6d7f055f97eb027f213a8234e2e74f0a02c0.tar zsh-87fa6d7f055f97eb027f213a8234e2e74f0a02c0.tar.gz zsh-87fa6d7f055f97eb027f213a8234e2e74f0a02c0.tar.bz2 zsh-87fa6d7f055f97eb027f213a8234e2e74f0a02c0.tar.lz zsh-87fa6d7f055f97eb027f213a8234e2e74f0a02c0.tar.xz zsh-87fa6d7f055f97eb027f213a8234e2e74f0a02c0.tar.zst zsh-87fa6d7f055f97eb027f213a8234e2e74f0a02c0.zip | |
53775: Fix some documentation typos
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | Doc/Zsh/builtins.yo | 4 | ||||
| -rw-r--r-- | Doc/Zsh/compwid.yo | 4 | ||||
| -rw-r--r-- | Doc/Zsh/mod_ksh93.yo | 2 | ||||
| -rw-r--r-- | Doc/Zsh/mod_private.yo | 2 | ||||
| -rw-r--r-- | Doc/Zsh/mod_random.yo | 2 | ||||
| -rw-r--r-- | Doc/Zsh/options.yo | 4 | ||||
| -rw-r--r-- | Doc/Zsh/zle.yo | 2 | ||||
| -rw-r--r-- | README | 2 |
9 files changed, 16 insertions, 11 deletions
@@ -1,5 +1,10 @@ 2025-11-12 Oliver Kiddle <opk@zsh.org> + * Lawrence Velázquez: 53775: Doc/Zsh/builtins.yo, + Doc/Zsh/compwid.yo, Doc/Zsh/mod_ksh93.yo, Doc/Zsh/mod_private.yo, + Doc/Zsh/mod_random.yo, Doc/Zsh/options.yo, Doc/Zsh/zle.yo, README: + Fix some documentation typos + * 54071: Completion/Zsh/Type/_ps1234: fix prompt colour completion * 54043, 54055 (tweaked to use "reset" as suggested by Mikael): diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 8fe2d8e21..c322cee77 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -870,7 +870,7 @@ can also be 0 to suppress all indentation. The tt(-W) option turns on the option tt(WARN_NESTED_VAR) for the named function or functions only. The option is turned off at the start of -nested functions (apart from anonoymous functions) unless the called +nested functions (apart from anonymous functions) unless the called function also has the tt(-W) attribute. The tt(-c) option causes var(oldfn) to be copied to var(newfn). The @@ -1631,7 +1631,7 @@ cindex(functions, returning from) item(tt(return) [ var(n) ])( Causes a shell function or `tt(.)' script to return to the invoking script with the return status specified by -an arithmetic expression var(n). Also causes a non-interctive +an arithmetic expression var(n). Also causes a non-interactive shell to exit, allowing files containing shell code to be used both as scripts and as autoloadable shell functions. For example, the following prints `tt(42)': diff --git a/Doc/Zsh/compwid.yo b/Doc/Zsh/compwid.yo index ee65f468e..cff46fb29 100644 --- a/Doc/Zsh/compwid.yo +++ b/Doc/Zsh/compwid.yo @@ -944,7 +944,7 @@ The patterns before the `tt(=)' are used to match substrings of the current word. For each matched substring, the corresponding part of the match pattern is broadened with the pattern after the `tt(=)', by means of a logical tt(OR). -Each pattern in a matcher cosists of either +Each pattern in a matcher consists of either startitemize() itemiz(the empty string or) @@ -1103,7 +1103,7 @@ anchors, below), then var(match-pat) may also be `tt(*)' or `tt(**)'. `tt(*)' can match any part of a completion that does not contain any substrings matching var(anchor), whereas a `tt(**)' can match any part of a completion, period. (Note that this is different from the behavior of `tt(*)' in the -anchorless forms of `tt(l:)' and `tt(r:)' and and also different from `tt(*)' +anchorless forms of `tt(l:)' and `tt(r:)' and also different from `tt(*)' and `tt(**)' in glob expressions.) startitem() diff --git a/Doc/Zsh/mod_ksh93.yo b/Doc/Zsh/mod_ksh93.yo index 7d22064ee..9e995caac 100644 --- a/Doc/Zsh/mod_ksh93.yo +++ b/Doc/Zsh/mod_ksh93.yo @@ -132,7 +132,7 @@ em(THIS FEATURE IS NOT YET IMPLEMENTED.) ) item(tt(.sh.math) <K>)( This parameter is more accurately considered a namespace. A function -defintion of the form +definition of the form ifzman() indent(tt(function .sh.math.)var(name)tt( )var(ident)tt( ... { )var(list)tt( })) diff --git a/Doc/Zsh/mod_private.yo b/Doc/Zsh/mod_private.yo index 2ec26185a..20b0a1f3b 100644 --- a/Doc/Zsh/mod_private.yo +++ b/Doc/Zsh/mod_private.yo @@ -96,7 +96,7 @@ may use the private parameter because those have the same calling scope.) enditemize() Note that this differs from the static scope defined by compiled languages -derived from C, in that the a new call to the same function creates a new +derived from C, in that a new call to the same function creates a new scope, i.e., the parameter is still associated with the call stack rather than with the function definition. It differs from ksh `tt(typeset -S)' because the syntax used to define the function has no bearing on whether diff --git a/Doc/Zsh/mod_random.yo b/Doc/Zsh/mod_random.yo index 4f5622e61..d797ca381 100644 --- a/Doc/Zsh/mod_random.yo +++ b/Doc/Zsh/mod_random.yo @@ -1,5 +1,5 @@ COMMENT(!MOD!zsh/random -Some High-quality randomness parameters and functions. +Some high-quality randomness parameters and functions. !MOD!) The tt(zsh/random) module gets random data from the kernel random pool. If no kernel random pool can be found, the module will not load. diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 6f203084b..a7e862c70 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -2138,7 +2138,7 @@ pindex(NOKSHTYPESET) cindex(argument splitting, in typeset etc.) cindex(ksh, argument splitting in typeset) item(tt(KSH_TYPESET))( -This option is now obsolete: a better appropximation to the behaviour of +This option is now obsolete: a better approximation to the behaviour of other shells is obtained with the reserved word interface to tt(declare), tt(export), tt(float), tt(integer), tt(local), tt(readonly) and tt(typeset). Note that the option is only applied when the reserved @@ -2284,7 +2284,7 @@ for example in expressions such as tt($#-) and tt($#*). Another difference is that with the option set assignment to an unset variable in arithmetic context causes the variable to be created as a scalar rather than a numeric type. So after `tt(unset t; (( t = 3 -)))'. without tt(POSIX_IDENTIFIERS) set tt(t) has integer type, while with +)))', without tt(POSIX_IDENTIFIERS) set tt(t) has integer type, while with it set it has scalar type. When the option is unset and multibyte character support is enabled (i.e. it diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo index 29a8b8597..315048887 100644 --- a/Doc/Zsh/zle.yo +++ b/Doc/Zsh/zle.yo @@ -2563,7 +2563,7 @@ tt(command) keymap, and if not found there in the main keymap. tindex(which-command) item(tt(which-command) (tt(ESC-?)) (unbound) (unbound))( Push the buffer onto the buffer stack, and execute the -command `tt(which-command) var(cmd)'. where var(cmd) is the current +command `tt(which-command) var(cmd)', where var(cmd) is the current command. tt(which-command) is normally aliased to tt(whence). ) tindex(vi-digit-or-beginning-of-line) @@ -88,7 +88,7 @@ consistent and better aligned with the POSIX-2017 specification of echo "This is printed only prior to 5.10." - The `&&` and `||` operators now always ignore ERR_RETURN in their - left operand. Until this version, the operators failed to ignored + left operand. Until this version, the operators failed to ignore ERR_RETURN in their left operand if they were executed as part of a function call or an anonymous function that was itself executed in a context where ERR_RETURN is ignored. Example: |
