mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 18:10:56 +01: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
				
			
		|  | @ -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), | ||||
|  |  | |||
|  | @ -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))( | ||||
|  |  | |||
|  | @ -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. | ||||
|  |  | |||
|  | @ -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. | ||||
|  |  | |||
|  | @ -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))( | ||||
|  |  | |||
|  | @ -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) | ||||
|  |  | |||
|  | @ -2146,7 +2146,7 @@ Of course, a hackish workaround is available in sh (and \fBzsh\fP): | |||
| %\0ll\0'fuu\0bar' | ||||
| fuu\0bar\0not\0found | ||||
| .De | ||||
| If you like the sh behaviour, \fBzsh\fP can accomodate you: | ||||
| If you like the sh behaviour, \fBzsh\fP can accommodate you: | ||||
| .Ds | ||||
| %\0ls\0${=srcs} | ||||
| 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` | ||||
| %\0PROMPT='%S%%\0' | ||||
| .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" | ||||
| .PP | ||||
| You can specify login or logout events to monitor | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue