mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
45003: Fix more documentation typos
This commit is contained in:
parent
ae58388619
commit
d81238ee95
7 changed files with 19 additions and 12 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2019-12-11 Martijn Dekker <martijn@inlv.org>
|
||||||
|
|
||||||
|
* 45003: Etc/FAQ.yo, Etc/zsh-development-guide,
|
||||||
|
Functions/Prompts/prompt_oliver_setup,
|
||||||
|
Functions/Zle/insert-composed-char, NEWS, README: Fix more
|
||||||
|
documentation typos
|
||||||
|
|
||||||
2019-12-10 Peter Stephenson <p.stephenson@samsung.com>
|
2019-12-10 Peter Stephenson <p.stephenson@samsung.com>
|
||||||
|
|
||||||
* 44997: Src/Zle/compctl.c: prefix needed extra munging for
|
* 44997: Src/Zle/compctl.c: prefix needed extra munging for
|
||||||
|
|
|
@ -1390,7 +1390,7 @@ sect(Why do my autoloaded functions not autoload [the first time]?)
|
||||||
redefine the function when you called it.
|
redefine the function when you called it.
|
||||||
|
|
||||||
From version 3.1, there is an option tt(KSH_AUTOLOAD) to allow full ksh
|
From version 3.1, there is an option tt(KSH_AUTOLOAD) to allow full ksh
|
||||||
compatiblity, i.e. the function myem(must) be in the second form
|
compatibility, i.e. the function myem(must) be in the second form
|
||||||
above. If that is not set, zsh tries to guess which form you are
|
above. If that is not set, zsh tries to guess which form you are
|
||||||
using: if the file contains only a complete definition of the
|
using: if the file contains only a complete definition of the
|
||||||
function in the second form, and nothing else apart from comments
|
function in the second form, and nothing else apart from comments
|
||||||
|
@ -1936,7 +1936,7 @@ label(327)
|
||||||
operator. As the mytt(**) operator cannot be grouped (inside
|
operator. As the mytt(**) operator cannot be grouped (inside
|
||||||
parentheses it is treated as mytt(*)), this is one way to exclude some
|
parentheses it is treated as mytt(*)), this is one way to exclude some
|
||||||
subdirectories from matching a mytt(**). Note that this can be quite
|
subdirectories from matching a mytt(**). Note that this can be quite
|
||||||
inefficent because the shell performs a complete search for
|
inefficient because the shell performs a complete search for
|
||||||
mytt(**/foo) before it uses the pattern after the mytt(~) to exclude
|
mytt(**/foo) before it uses the pattern after the mytt(~) to exclude
|
||||||
files from the match. The file is excluded if mytt(bar) occurs
|
files from the match. The file is excluded if mytt(bar) occurs
|
||||||
em(anywhere), in any directory segment or the final file name.
|
em(anywhere), in any directory segment or the final file name.
|
||||||
|
@ -2483,7 +2483,7 @@ label(52)
|
||||||
tt(unsubscribe) to unsubscribe. The mailing software (tt(ezlm)) has
|
tt(unsubscribe) to unsubscribe. The mailing software (tt(ezlm)) has
|
||||||
various bells and whistles: you can retrieve archived messages.
|
various bells and whistles: you can retrieve archived messages.
|
||||||
Mail email(zsh-workers-help@zsh.org) for detailed information.
|
Mail email(zsh-workers-help@zsh.org) for detailed information.
|
||||||
Adminstrative matters are best sent to
|
Administrative matters are best sent to
|
||||||
email(zsh-workers-owner@zsh.org).
|
email(zsh-workers-owner@zsh.org).
|
||||||
real name is email(Geoff Wing <gcw@zsh.org>).
|
real name is email(Geoff Wing <gcw@zsh.org>).
|
||||||
|
|
||||||
|
|
|
@ -891,7 +891,7 @@ The wrapper function should be defined like:
|
||||||
The first two arguments should only be used to pass them to
|
The first two arguments should only be used to pass them to
|
||||||
`runshfunc()' which will execute the shell function. The last argument
|
`runshfunc()' which will execute the shell function. The last argument
|
||||||
is the name of the function to be executed. The arguments passed to
|
is the name of the function to be executed. The arguments passed to
|
||||||
the function can be accessed vie the global variable `pparams' (a
|
the function can be accessed via the global variable `pparams' (a
|
||||||
NULL-terminated array of strings).
|
NULL-terminated array of strings).
|
||||||
|
|
||||||
The return value of the wrapper function should be zero if it calls
|
The return value of the wrapper function should be zero if it calls
|
||||||
|
|
|
@ -5,7 +5,7 @@ prompt_oliver_help() {
|
||||||
With this prompt theme, the prompt contains the current directory,
|
With this prompt theme, the prompt contains the current directory,
|
||||||
history number, number of jobs (if non-zero) and the previous
|
history number, number of jobs (if non-zero) and the previous
|
||||||
command's exit code (if non-zero) and a final character which
|
command's exit code (if non-zero) and a final character which
|
||||||
depends on priviledges.
|
depends on privileges.
|
||||||
|
|
||||||
The colour of the prompt depends on two associative arrays -
|
The colour of the prompt depends on two associative arrays -
|
||||||
$pcolour and $tcolour. Each array is indexed by the name of the
|
$pcolour and $tcolour. Each array is indexed by the name of the
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
# ' Acute
|
# ' Acute
|
||||||
# > Circumflex
|
# > Circumflex
|
||||||
# ? Tilde
|
# ? Tilde
|
||||||
# - Macron. (A horizonal bar over the letter.)
|
# - Macron. (A horizontal bar over the letter.)
|
||||||
# ( Breve. (A shallow dish shape over the letter.)
|
# ( Breve. (A shallow dish shape over the letter.)
|
||||||
# . Dot above, or no dot with lower case i, or dot in the middle of L or l.
|
# . Dot above, or no dot with lower case i, or dot in the middle of L or l.
|
||||||
# : Diaeresis (Umlaut)
|
# : Diaeresis (Umlaut)
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
# 9 Horn
|
# 9 Horn
|
||||||
# Hence A! is upper case A with a grave, c, is lower case c with cedilla.
|
# Hence A! is upper case A with a grave, c, is lower case c with cedilla.
|
||||||
#
|
#
|
||||||
# Some other composed charaters:
|
# Some other composed characters:
|
||||||
# Various ligatures:
|
# Various ligatures:
|
||||||
# AE ae OE oe IJ ij
|
# AE ae OE oe IJ ij
|
||||||
#
|
#
|
||||||
|
|
2
NEWS
2
NEWS
|
@ -547,7 +547,7 @@ Expansion (parameters, globbing, etc.) and redirection
|
||||||
calculated by the (l) and (r) flags or the # operator should take
|
calculated by the (l) and (r) flags or the # operator should take
|
||||||
account of the printing width of characters in multibyte mode, whether
|
account of the printing width of characters in multibyte mode, whether
|
||||||
0, 1 or more. (mm) causes printing characters to count as 1 and
|
0, 1 or more. (mm) causes printing characters to count as 1 and
|
||||||
non-printing chracters to count as 0.
|
non-printing characters to count as 0.
|
||||||
|
|
||||||
- The parameter substitution flag (q-) picks the most minimal way of
|
- The parameter substitution flag (q-) picks the most minimal way of
|
||||||
quoting the parameter words, to make the result as readable as possible.
|
quoting the parameter words, to make the result as readable as possible.
|
||||||
|
|
8
README
8
README
|
@ -204,7 +204,7 @@ of this change is that variables that should have active ranges need
|
||||||
[[ b = [${~cset}] ]]
|
[[ b = [${~cset}] ]]
|
||||||
|
|
||||||
The "~" causes the "-" character to be active. In sh emulation the
|
The "~" causes the "-" character to be active. In sh emulation the
|
||||||
"~" is unncessary in this example and double quotes must be used to
|
"~" is unnecessary in this example and double quotes must be used to
|
||||||
suppress the range behaviour of the "-".
|
suppress the range behaviour of the "-".
|
||||||
|
|
||||||
2) The first argument to 'repeat' is now evaluated as an arithmetic
|
2) The first argument to 'repeat' is now evaluated as an arithmetic
|
||||||
|
@ -217,7 +217,7 @@ leading zeroes and the OCTAL_ZEROES option is set.
|
||||||
3) For some time the shell has had a POSIX_TRAPS option which determines
|
3) For some time the shell has had a POSIX_TRAPS option which determines
|
||||||
whether the EXIT trap has POSIX behaviour (the trap is only run at shell
|
whether the EXIT trap has POSIX behaviour (the trap is only run at shell
|
||||||
exit) or traditional zsh behaviour (the trap is run once and discarded
|
exit) or traditional zsh behaviour (the trap is run once and discarded
|
||||||
when the enclosing fuction or shell exits, whichever happens first).
|
when the enclosing function or shell exits, whichever happens first).
|
||||||
The use of this option has now been made "sticky" on the EXIT trap ---
|
The use of this option has now been made "sticky" on the EXIT trap ---
|
||||||
in other words, the setting of the option at the point where the trap is
|
in other words, the setting of the option at the point where the trap is
|
||||||
set now determines whether the trap has POSIX or traditional zsh
|
set now determines whether the trap has POSIX or traditional zsh
|
||||||
|
@ -344,7 +344,7 @@ can be used with both assoiative arrays and normal arrays. In the
|
||||||
unlikely event that you wish to create an array with an entry
|
unlikely event that you wish to create an array with an entry
|
||||||
matching a file whose name consists of one of a range of characters
|
matching a file whose name consists of one of a range of characters
|
||||||
matched as a [...] expression, followed by an equal sign, followed
|
matched as a [...] expression, followed by an equal sign, followed
|
||||||
by arbitrary other charaters, it is now necessary to quote the equals
|
by arbitrary other characters, it is now necessary to quote the equals
|
||||||
sign.
|
sign.
|
||||||
|
|
||||||
Incompatibilites between 5.0.7 and 5.0.8
|
Incompatibilites between 5.0.7 and 5.0.8
|
||||||
|
@ -361,7 +361,7 @@ or both of the arguments were floating point. Now, the C math
|
||||||
library fmod() operator is used to implement the operation where
|
library fmod() operator is used to implement the operation where
|
||||||
one of the arguments is floating point. For example:
|
one of the arguments is floating point. For example:
|
||||||
|
|
||||||
Old behavour:
|
Old behaviour:
|
||||||
|
|
||||||
% print $(( 5.5 % 2 ))
|
% print $(( 5.5 % 2 ))
|
||||||
1
|
1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue