mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-06 09:01:13 +02:00
44981: Fix some typos in the documentation.
This commit is contained in:
parent
06dddd0b98
commit
bcde790c88
8 changed files with 15 additions and 8 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2019-12-04 Martijn Dekker <martijn@inlv.org>
|
||||||
|
|
||||||
|
* 44981: Doc/Zsh/cond.yo, Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo,
|
||||||
|
Doc/Zsh/mod_mapfile.yo, Doc/Zsh/mod_parameter.yo,
|
||||||
|
Doc/Zsh/params.yo, Doc/intro.ms: Fix some typos in the
|
||||||
|
documentation.
|
||||||
|
|
||||||
2019-12-03 Daniel Shahaf <danielsh@apache.org>
|
2019-12-03 Daniel Shahaf <danielsh@apache.org>
|
||||||
|
|
||||||
* 44960: Functions/VCS_Info/Backends/VCS_INFO_get_data_cvs:
|
* 44960: Functions/VCS_Info/Backends/VCS_INFO_get_data_cvs:
|
||||||
|
|
|
@ -138,7 +138,7 @@ tt(match) is set to the substrings that matched parenthesised
|
||||||
subexpressions and the arrays tt(mbegin) and tt(mend) to the indices of
|
subexpressions and the arrays tt(mbegin) and tt(mend) to the indices of
|
||||||
the start and end positions, respectively, of the substrings within
|
the start and end positions, respectively, of the substrings within
|
||||||
var(string). The arrays are not set if there were no parenthesised
|
var(string). The arrays are not set if there were no parenthesised
|
||||||
subexpresssions. For example, if the string `tt(a short string)' is matched
|
subexpressions. For example, if the string `tt(a short string)' is matched
|
||||||
against the regular expression `tt(s+LPAR()...RPAR()t)', then (assuming the
|
against the regular expression `tt(s+LPAR()...RPAR()t)', then (assuming the
|
||||||
option tt(KSH_ARRAYS) is not set) tt(MATCH), tt(MBEGIN)
|
option tt(KSH_ARRAYS) is not set) tt(MATCH), tt(MBEGIN)
|
||||||
and tt(MEND) are `tt(short)', tt(3) and tt(7), respectively, while tt(match),
|
and tt(MEND) are `tt(short)', tt(3) and tt(7), respectively, while tt(match),
|
||||||
|
|
|
@ -677,7 +677,7 @@ As an example, ~[g:p:s] might specify:
|
||||||
startitem()
|
startitem()
|
||||||
item(tt(g))(
|
item(tt(g))(
|
||||||
The top level directory for your git area. This first component
|
The top level directory for your git area. This first component
|
||||||
has to match, or the function will retrun indicating another
|
has to match, or the function will return indicating another
|
||||||
directory name hook function should be tried.
|
directory name hook function should be tried.
|
||||||
)
|
)
|
||||||
item(tt(p))(
|
item(tt(p))(
|
||||||
|
|
|
@ -1139,7 +1139,7 @@ form of single quoting is used that only quotes the string if needed to
|
||||||
protect special characters. Typically this form gives the most readable
|
protect special characters. Typically this form gives the most readable
|
||||||
output.
|
output.
|
||||||
|
|
||||||
If a tt(q+) is given, an extended form of minmal quoting is used that
|
If a tt(q+) is given, an extended form of minimal quoting is used that
|
||||||
causes unprintable characters to be rendered using tt($')var(...)tt(').
|
causes unprintable characters to be rendered using tt($')var(...)tt(').
|
||||||
This quoting is similar to that used by the output of values by the
|
This quoting is similar to that used by the output of values by the
|
||||||
tt(typeset) family of commands.
|
tt(typeset) family of commands.
|
||||||
|
|
|
@ -18,7 +18,7 @@ editing the file `tt(myfile)'.
|
||||||
|
|
||||||
When the array is accessed as a whole, the keys are the names of files in
|
When the array is accessed as a whole, the keys are the names of files in
|
||||||
the current directory, and the values are empty (to save a huge overhead in
|
the current directory, and the values are empty (to save a huge overhead in
|
||||||
memory). Thus tt(${(k)mapfile}) has the same affect as the glob operator
|
memory). Thus tt(${(k)mapfile}) has the same effect as the glob operator
|
||||||
tt(*(D)), since files beginning with a dot are not special. Care must be
|
tt(*(D)), since files beginning with a dot are not special. Care must be
|
||||||
taken with expressions such as tt(rm ${(k)mapfile}), which will delete
|
taken with expressions such as tt(rm ${(k)mapfile}), which will delete
|
||||||
every file in the current directory without the usual `tt(rm *)' test.
|
every file in the current directory without the usual `tt(rm *)' test.
|
||||||
|
|
|
@ -55,7 +55,7 @@ For any other function, including any defined at an interactive prompt or
|
||||||
an autoload function whose path has not yet been resolved, this is
|
an autoload function whose path has not yet been resolved, this is
|
||||||
the empty string. However, the hash element is reported as defined
|
the empty string. However, the hash element is reported as defined
|
||||||
just so long as the function is present: the keys to this hash are
|
just so long as the function is present: the keys to this hash are
|
||||||
the same as those to tt($funcions).
|
the same as those to tt($functions).
|
||||||
)
|
)
|
||||||
vindex(dis_functions_source)
|
vindex(dis_functions_source)
|
||||||
item(tt(dis_functions_source))(
|
item(tt(dis_functions_source))(
|
||||||
|
|
|
@ -1674,7 +1674,7 @@ For example, with the tt(EXTENDED_GLOB) option set, the following:
|
||||||
|
|
||||||
example(watch=('^(pws|barts)'))
|
example(watch=('^(pws|barts)'))
|
||||||
|
|
||||||
causes reports for activity assoicated with any user other than tt(pws)
|
causes reports for activity associated with any user other than tt(pws)
|
||||||
or tt(barts).
|
or tt(barts).
|
||||||
)
|
)
|
||||||
vindex(WATCHFMT)
|
vindex(WATCHFMT)
|
||||||
|
|
|
@ -2146,7 +2146,7 @@ Of course, a hackish workaround is available in sh (and \fBzsh\fP):
|
||||||
%\0ll\0'fuu\0bar'
|
%\0ll\0'fuu\0bar'
|
||||||
fuu\0bar\0not\0found
|
fuu\0bar\0not\0found
|
||||||
.De
|
.De
|
||||||
If you like the sh behaviour, \fBzsh\fP can accomodate you:
|
If you like the sh behaviour, \fBzsh\fP can accommodate you:
|
||||||
.Ds
|
.Ds
|
||||||
%\0ls\0${=srcs}
|
%\0ls\0${=srcs}
|
||||||
exec.c\0\0glob.c\0\0init.c
|
exec.c\0\0glob.c\0\0init.c
|
||||||
|
@ -2441,7 +2441,7 @@ and command line while leaving command output unhighlighted, try this:
|
||||||
%\0POSTEDIT=`echotc\0se`
|
%\0POSTEDIT=`echotc\0se`
|
||||||
%\0PROMPT='%S%%\0'
|
%\0PROMPT='%S%%\0'
|
||||||
.De
|
.De
|
||||||
This trick is mostly superceded by the zle_highlight array parameter.
|
This trick is mostly superseded by the zle_highlight array parameter.
|
||||||
.Sh "Login/logout watching"
|
.Sh "Login/logout watching"
|
||||||
.PP
|
.PP
|
||||||
You can specify login or logout events to monitor
|
You can specify login or logout events to monitor
|
||||||
|
|
Loading…
Reference in a new issue