about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-05-02 02:41:26 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-06-26 18:25:51 +0000
commit4e3d08fea8b82a638211b02fbaa7772cf1b2863d (patch)
tree8dd232b41d9d82a2d3b49f2b74bbfbd62d87080a /Doc
parent78654869942e94b77ba878a383c4e91d2978567c (diff)
downloadzsh-4e3d08fea8b82a638211b02fbaa7772cf1b2863d.tar.gz
zsh-4e3d08fea8b82a638211b02fbaa7772cf1b2863d.tar.xz
zsh-4e3d08fea8b82a638211b02fbaa7772cf1b2863d.zip
unposted: docs: Fix some markup and typos.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/contrib.yo4
-rw-r--r--Doc/Zsh/expn.yo4
-rw-r--r--Doc/Zsh/mod_mapfile.yo2
3 files changed, 5 insertions, 5 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index b9f48e8af..c611ff43b 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -598,7 +598,7 @@ changes to descendant directories; earlier directories on the
 list are not pruned.  For example, changing from ~pws/yet/another
 to ~pws/some/other/dir does not cause ~pws to be pruned.
 )
-item(tt(pattern:var(pattern)))(
+item(tt(pattern:)var(pattern))(
 Gives a zsh pattern for directories that should not be
 added to the recent list (if not already there).  This element
 can be repeated to add different patterns.  For example,
@@ -660,7 +660,7 @@ sect(Abbreviated dynamic references to directories)
 
 The dynamic directory naming system is described in the subsection
 em(Dynamic named directories) of
-ifzman(the section em(Filename Expansion) in zmanref(expn))\
+ifzman(the section em(Filename Expansion) in zmanref(zshexpn))\
 ifnzman(noderef(Filename Expansion)).  In this, a reference to
 tt(~[)var(...)tt(]) is expanded by a function found by the hooks
 mechanism.
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 69cb0b08a..3800f2fb0 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -2900,8 +2900,8 @@ repeated, but note that the maximum number of sort operators of any kind
 that may appear in any glob expression is 12.
 )
 item(tt(O)var(c))(
-like `tt(o)', but sorts in descending order; i.e. `tt(*(^oc))' is the
-same as `tt(*(Oc))' and `tt(*(^Oc))' is the same as `tt(*(oc))'; `tt(Od)'
+like `tt(o)', but sorts in descending order; i.e. `tt(*+LPAR()^o)var(c)tt(+RPAR())' is the
+same as `tt(*+LPAR()O)var(c)tt(+RPAR())' and `tt(*+LPAR()^O)var(c)tt(+RPAR())' is the same as `tt(*+LPAR()o)var(c)tt(+RPAR())'; `tt(Od)'
 puts files in the current directory before those in subdirectories at each
 level of the search.
 )
diff --git a/Doc/Zsh/mod_mapfile.yo b/Doc/Zsh/mod_mapfile.yo
index 640beeb12..9d8f07214 100644
--- a/Doc/Zsh/mod_mapfile.yo
+++ b/Doc/Zsh/mod_mapfile.yo
@@ -13,7 +13,7 @@ value is the content of the file.  The value is treated identically to any
 other text coming from a parameter.  The value may also be assigned to, in
 which case the file in question is written (whether or not it originally
 existed); or an element may be unset, which will delete the file in
-question.  For example, `tt(vared mapfile[myfile])' works as expected,
+question.  For example, `tt(vared 'mapfile[myfile]')' works as expected,
 editing the file `tt(myfile)'.
 
 When the array is accessed as a whole, the keys are the names of files in