summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorMartijn Dekker <martijn@inlv.org>2019-12-04 21:31:12 +0000
committerDaniel Shahaf <danielsh@apache.org>2019-12-04 21:31:17 +0000
commitbcde790c88e3ba03a0b60dc1e30a620a843d0f73 (patch)
treee029610a42829091d0146ced1b54f4615009bbf1 /Doc/Zsh
parent06dddd0b98da9fa285573b1a6e1a0ecc2d6c6bd4 (diff)
downloadzsh-bcde790c88e3ba03a0b60dc1e30a620a843d0f73.tar.gz
zsh-bcde790c88e3ba03a0b60dc1e30a620a843d0f73.tar.xz
zsh-bcde790c88e3ba03a0b60dc1e30a620a843d0f73.zip
44981: Fix some typos in the documentation.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/cond.yo2
-rw-r--r--Doc/Zsh/contrib.yo2
-rw-r--r--Doc/Zsh/expn.yo2
-rw-r--r--Doc/Zsh/mod_mapfile.yo2
-rw-r--r--Doc/Zsh/mod_parameter.yo2
-rw-r--r--Doc/Zsh/params.yo2
6 files changed, 6 insertions, 6 deletions
diff --git a/Doc/Zsh/cond.yo b/Doc/Zsh/cond.yo
index 4ca132a26..000e576d0 100644
--- a/Doc/Zsh/cond.yo
+++ b/Doc/Zsh/cond.yo
@@ -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
 the start and end positions, respectively, of the substrings within
 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
 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),
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index d32ba018d..a4dc8a3ae 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -677,7 +677,7 @@ As an example, ~[g:p:s] might specify:
 startitem()
 item(tt(g))(
 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.
 )
 item(tt(p))(
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 5f7aaa1b3..d7147dbd7 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -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
 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(').
 This quoting is similar to that used by the output of values by the
 tt(typeset) family of commands.
diff --git a/Doc/Zsh/mod_mapfile.yo b/Doc/Zsh/mod_mapfile.yo
index 96e056816..640beeb12 100644
--- a/Doc/Zsh/mod_mapfile.yo
+++ b/Doc/Zsh/mod_mapfile.yo
@@ -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
 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
 taken with expressions such as tt(rm ${(k)mapfile}), which will delete
 every file in the current directory without the usual `tt(rm *)' test.
diff --git a/Doc/Zsh/mod_parameter.yo b/Doc/Zsh/mod_parameter.yo
index 942e4c5b6..2e3011e44 100644
--- a/Doc/Zsh/mod_parameter.yo
+++ b/Doc/Zsh/mod_parameter.yo
@@ -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
 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
-the same as those to tt($funcions).
+the same as those to tt($functions).
 )
 vindex(dis_functions_source)
 item(tt(dis_functions_source))(
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 9acd52f2e..5025ef477 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -1674,7 +1674,7 @@ For example, with the tt(EXTENDED_GLOB) option set, the following:
 
 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).
 )
 vindex(WATCHFMT)