home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume29 / zsh2.2 / part04 < prev    next >
Text File  |  1992-05-13  |  50KB  |  1,723 lines

  1. Newsgroups: comp.sources.misc
  2. From: pfalstad@phoenix.Princeton.EDU (Paul Falstad)
  3. Subject:  v29i100:  zsh2.2 - The Z shell, Part04/17
  4. Message-ID: <1992May13.155549.8361@sparky.imd.sterling.com>
  5. X-Md4-Signature: 21181b08f79cd022076dad474e110cc3
  6. Date: Wed, 13 May 1992 15:55:49 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: pfalstad@phoenix.Princeton.EDU (Paul Falstad)
  10. Posting-number: Volume 29, Issue 100
  11. Archive-name: zsh2.2/part04
  12. Environment: BSD
  13. Supersedes: zsh2.1: Volume 24, Issue 1-19
  14.  
  15. #!/bin/sh
  16. # this is aa.04 (part 4 of zsh2.2)
  17. # do not concatenate these parts, unpack them in order with /bin/sh
  18. # file zsh2.2/man/man1/zsh.1 continued
  19. #
  20. if test ! -r _shar_seq_.tmp; then
  21.     echo 'Please unpack part 1 first!'
  22.     exit 1
  23. fi
  24. (read Scheck
  25.  if test "$Scheck" != 4; then
  26.     echo Please unpack part "$Scheck" next!
  27.     exit 1
  28.  else
  29.     exit 0
  30.  fi
  31. ) < _shar_seq_.tmp || exit 1
  32. if test ! -f _shar_wnt_.tmp; then
  33.     echo 'x - still skipping zsh2.2/man/man1/zsh.1'
  34. else
  35. echo 'x - continuing file zsh2.2/man/man1/zsh.1'
  36. sed 's/^X//' << 'SHAR_EOF' >> 'zsh2.2/man/man1/zsh.1' &&
  37. XRead a character from the keyboard, and move to
  38. Xthe position just before the next occurrence of it in the line.
  39. X.TP
  40. X\fBvi-find-prev-char\fP (unbound) (F)
  41. XRead a character from the keyboard, and move to
  42. Xthe previous occurrence of it in the line.
  43. X.TP
  44. X\fBvi-find-prev-char-skip\fP (unbound) (T)
  45. XRead a character from the keyboard, and move to
  46. Xthe position just after the previous occurrence of it in the line.
  47. X.TP
  48. X\fBvi-first-non-blank\fP (unbound) (^)
  49. XMove to the first non-blank character in the line.
  50. X.TP
  51. X\fBvi-forward-word\fP (unbound) (w)
  52. XMove forward one word, vi-style.
  53. X.TP
  54. X\fBforward-word\fP (ESC-F ESC-f) (unbound)
  55. XMove to the beginning of the next word.
  56. XThe editor's idea of a word is specified with the \fBWORDCHARS\fP
  57. Xparameter.
  58. X.TP
  59. X\fBemacs-forward-word\fP
  60. XMove to the end of the next word.
  61. X.TP
  62. X\fBvi-forward-word-end\fP (unbound) (e)
  63. XMove to the end of the next word.
  64. X.TP
  65. X\fBvi-goto-column\fP (ESC-|) (|)
  66. XMove to the column specified by the numeric argument.
  67. X.TP
  68. X\fBvi-goto-mark\fP (unbound) (`)
  69. XMove to the specified mark.
  70. X.TP
  71. X\fBvi-goto-mark-line\fP (unbound) (')
  72. XMove to beginning of the line containing the specified mark.
  73. X.TP
  74. X\fBvi-repeat-find\fP (unbound) (;)
  75. XRepeat the last \fBvi-find\fP command.
  76. X.TP
  77. X\fBvi-rev-repeat-find\fP (unbound) (,)
  78. XRepeat the last \fBvi-find\fP command in the opposite direction.
  79. X.SS History
  80. X.TP
  81. X\fBbeginning-of-buffer-or-history\fP (ESC-<)
  82. XMove to the beginning of the buffer, or if already there,
  83. Xmove to the first event in the history list.
  84. X.TP
  85. X\fBbeginning-of-line-hist\fP
  86. XMove to the beginning of the line.  If already at the
  87. Xbeginning of the buffer, move to the previous history line.
  88. X.TP
  89. X\fBbeginning-of-history\fP
  90. XMove to the first event in the history list.
  91. X.TP
  92. X\fBdown-line-or-history\fP (^N ESC-[B) (+ j)
  93. XMove down a line in the buffer, or if already at the bottom line,
  94. Xmove to the next event in the history list.
  95. X.TP
  96. X\fBdown-history\fP (unbound) (^N)
  97. XMove to the next event in the history list.
  98. X.TP
  99. X\fBend-of-buffer-or-history\fP (ESC->)
  100. XMove to the end of the buffer, or if already there,
  101. Xmove to the last event in the history list.
  102. X.TP
  103. X\fBend-of-line-hist\fP
  104. XMove to the end of the line.  If already at the end of
  105. Xthe buffer, move to the next history line.
  106. X.TP
  107. X\fBend-of-history\fP
  108. XMove to the last event in the history list.
  109. X.TP
  110. X\fBvi-fetch-history\fP (unbound) (G)
  111. XFetch the history line specified by the numeric argument.
  112. X.TP
  113. X\fBhistory-incremental-search-backward\fP (^R ^Xr)
  114. XSearch backward incrementally for a specified string.
  115. XThe string may begin with `^' to anchor the search to the
  116. Xbeginning of the line.
  117. X.TP
  118. X\fBhistory-incremental-search-forward\fP (^Xs)
  119. XSearch forward incrementally for a specified string.
  120. XThe string may begin with `^' to anchor the search to the
  121. Xbeginning of the line.
  122. X.TP
  123. X\fBhistory-search-backward\fP (ESC-P ESC-p) (K)
  124. XSearch backward in the history for a line beginning with the first
  125. Xword in the buffer.
  126. X.TP
  127. X\fBvi-history-search-backward\fP (unbound) (/)
  128. XSearch backward in the history for a specified string.
  129. XThe string may begin with `^' to anchor the search to the
  130. Xbeginning of the line.
  131. X.TP
  132. X\fBhistory-search-forward\fP (ESC-N ESC-n) (J)
  133. XSearch forward in the history for a line beginning with the first
  134. Xword in the buffer.
  135. X.TP
  136. X\fBvi-history-search-forward\fP (unbound) (?)
  137. XSearch forward in the history for a specified string.
  138. XThe string may begin with `^' to anchor the search to the
  139. Xbeginning of the line.
  140. X.TP
  141. X\fBinfer-next-history\fP (^X^N)
  142. XSearch in the history list for a line matching the current one and
  143. Xfetch the event following it.
  144. X.TP
  145. X\fBinsert-last-word\fP (ESC-_ ESC-.)
  146. XInsert the last word from the previous history event at the
  147. Xcursor position.
  148. X.TP
  149. X\fBvi-repeat-search\fP (unbound) (n)
  150. XRepeat the last vi history search.
  151. X.TP
  152. X\fBvi-rev-repeat-search\fP (unbound) (N)
  153. XRepeat the last vi history search, but in reverse.
  154. X.TP
  155. X\fBtoggle-literal-history\fP (ESC-R ESC-r)
  156. XToggle between literal and lexical history.  The default is
  157. Xlexical history unless the \fBHISTLIT\fP option is set.
  158. X.TP
  159. X\fBup-line-or-history\fP (^P ESC-[A) (- k)
  160. XMove up a line in the buffer, or if already at the top line,
  161. Xmove to the previous event in the history list.
  162. X.TP
  163. X\fBup-history\fP (unbound) (^P)
  164. XMove to the previous event in the history list.
  165. X.SS Modifying Text
  166. X.TP
  167. X\fBvi-add-eol\fP (unbound) (A)
  168. XMove to the end of the line and enter insert mode.
  169. X.TP
  170. X\fBvi-add-next\fP (unbound) (a)
  171. XMove forward one character and enter insert mode.
  172. X.TP
  173. X\fBbackward-delete-char\fP (^H ^?) (^?)
  174. XDelete the character behind the cursor.
  175. X.TP
  176. X\fBvi-backward-delete-char\fP (unbound) (X)
  177. XDelete the character behind the cursor, without changing lines.
  178. X.TP
  179. X\fBbackward-delete-word\fP
  180. XDelete the word behind the cursor.
  181. X.TP
  182. X\fBbackward-kill-line\fP
  183. XKill from the beginning of the line to the cursor position.
  184. X.TP
  185. X\fBbackward-kill-word\fP (^W ESC-^H ESC-^?)
  186. XKill the word behind the cursor.
  187. X.TP
  188. X\fBvi-backward-kill-word\fP (unbound) (^W)
  189. XKill the word behind the cursor.
  190. X.TP
  191. X\fBcapitalize-word\fP (ESC-C ESC-c)
  192. XCapitalize the current word and move past it.
  193. X.TP
  194. X\fBvi-change\fP (unbound) (c)
  195. XRead a movement command from the keyboard, and kill
  196. Xfrom the cursor position to the endpoint of the movement.
  197. XThen enter insert mode.
  198. XIf the command is \fBvi-change\fP, kill the current line.
  199. X.TP
  200. X\fBvi-change-eol\fP (unbound) (C)
  201. XKill to the end of the line and enter insert mode.
  202. X.TP
  203. X\fBvi-change-whole-line\fP (unbound) (S s)
  204. XKill the current line and enter insert mode.
  205. X.TP
  206. X\fBcopy-region-as-kill\fP (ESC-W ESC-w)
  207. XCopy the area from the cursor to the mark to the kill buffer.
  208. X.TP
  209. X\fBcopy-prev-word\fP (ESC-^_)
  210. XDuplicate the word behind the cursor.
  211. X.TP
  212. X\fBvi-delete\fP (unbound) (d)
  213. XRead a movement command from the keyboard, and kill 
  214. Xfrom the cursor position to the endpoint of the movement.
  215. XIf the command is \fBvi-delete\fP, kill the current line.
  216. X.TP
  217. X\fBdelete-char\fP (unbound) (x)
  218. XDelete the character under the cursor.
  219. X.TP
  220. X\fBvi-delete-char\fP (unbound) (x)
  221. XDelete the character under the cursor.
  222. X.TP
  223. X\fBdelete-word\fP (ESC-D ESC-d)
  224. XDelete the current word.
  225. X.TP
  226. X\fBdown-case-word\fP (ESC-L ESC-l)
  227. XConvert the current word to all lowercase and move past it.
  228. X.TP
  229. X\fBkill-word\fP
  230. XKill the current word.
  231. X.TP
  232. X\fBgosmacs-transpose-chars\fP
  233. XExchange the two characters behind the cursor.
  234. X.TP
  235. X\fBvi-indent\fP (unbound) (>)
  236. XIndent a number of lines.
  237. X.TP
  238. X\fBvi-insert\fP (unbound) (i)
  239. XEnter insert mode.
  240. X.TP
  241. X\fBvi-insert-bol\fP (unbound) (I)
  242. XMove to the beginning of the line and enter insert mode.\fP
  243. X.TP
  244. X\fBvi-join\fP (^X^J)
  245. XJoin the current line with the next one.
  246. X.TP
  247. X\fBkill-line\fP (^K) (D)
  248. XKill from the cursor to the end of the line.
  249. X.TP
  250. X\fBkill-region\fP
  251. XKill from the cursor to the mark.
  252. X.TP
  253. X\fBkill-buffer\fP (^X^U) (^U)
  254. XKill the entire buffer.
  255. X.TP
  256. X\fBkill-whole-line\fP (^U) (unbound)
  257. XKill the current line.
  258. X.TP
  259. X\fBvi-match-bracket\fP (^X^B) (%)
  260. XMove to the bracket character (one of {\|}, (\|), or [\|]) that
  261. Xmatches the one under the cursor.
  262. X.TP
  263. X\fBvi-open-line-above\fP (unbound) (O)
  264. XOpen a line above the cursor and enter insert mode.
  265. X.TP
  266. X\fBvi-open-line-below\fP (unbound) (o)
  267. XOpen a line below the cursor and enter insert mode.
  268. X.TP
  269. X\fBvi-oper-swap-case\fP
  270. XRead a movement command from the keyboard, and swap
  271. Xthe case of all characters
  272. Xfrom the cursor position to the endpoint of the movement.
  273. XIf the movement command is \fBvi-oper-swap-case\fP,
  274. Xswap the case of all characters on the current line.
  275. X.TP
  276. X\fBoverwrite-mode\fP (^X^O)
  277. XToggle between overwrite mode and insert mode.
  278. X.TP
  279. X\fBvi-put-after\fP (unbound) (p)
  280. XInsert the contents of the kill buffer after the cursor.
  281. X.TP
  282. X\fBquoted-insert\fP (^V)
  283. XInsert the next character typed into the buffer literally.
  284. X.TP
  285. X\fBquote-line\fP (ESC-')
  286. XQuote the current line; that is, put a ' character at the
  287. Xbeginning and the end, and convert all ' characters
  288. Xto '\e''.
  289. X.TP
  290. X\fBquote-region\fP (ESC-")
  291. XQuote the region from the cursor to the mark.
  292. X.TP
  293. X\fBvi-replace\fP (unbound) (R)
  294. XEnter overwrite mode.
  295. X.TP
  296. X\fBvi-repeat-change\fP (unbound) (.)
  297. XRepeat the last vi mode text modification.
  298. X.TP
  299. X\fBvi-replace-chars\fP (unbound) (r)
  300. XReplace the character under the cursor with a character
  301. Xread from the keyboard.
  302. X.TP
  303. X\fBself-insert\fP (printable characters)
  304. XPut a character in the buffer at the cursor position.
  305. X.TP
  306. X\fBself-insert-unmeta\fP (ESC-^I ESC-^J ESC-^M)
  307. XPut a character in the buffer after stripping the meta bit
  308. Xand converting \fB^M\fP to \fB^J\fP.
  309. X.TP
  310. X\fBvi-substitute\fP (unbound) (s)
  311. XSubstitute the next character(s).
  312. X.TP
  313. X\fBvi-swap-case\fP (unbound) (~)
  314. XSwap the case of the character under the cursor and move past it.
  315. X.TP
  316. X\fBtranspose-chars\fP (^T)
  317. XExchange the two characters to the left of the
  318. Xcursor if at end of line, else exchange the
  319. Xcharacter under the cursor with the character
  320. Xto the left.
  321. X.TP
  322. X\fBtranspose-words\fP (ESC-T ESC-t)
  323. XExchange the current word with the one before it.
  324. X.TP
  325. X\fBvi-unindent\fP (unbound) (<)
  326. XUnindent a number of lines.
  327. X.TP
  328. X\fBup-case-word\fP (ESC-U ESC-u)
  329. XConvert the current word to all caps and move past it.
  330. X.TP
  331. X\fByank\fP (^Y) (P)
  332. XInsert the contents of the kill buffer at the cursor position.
  333. X.TP
  334. X\fByank-pop\fP (ESC-y) (unbound)
  335. XRemove the text just yanked, rotate the kill\-ring,
  336. Xand yank the new top.  Only works following
  337. X\fByank\fP or \fByank-pop\fP.
  338. X.TP
  339. X\fBvi-yank\fP (unbound) (y)
  340. XRead a movement command from the keyboard, and copy the region
  341. Xfrom the cursor position to the endpoint of the movement
  342. Xinto the kill buffer.
  343. XIf the command is \fBvi-yank\fP, copy the current line.
  344. X.TP
  345. X\fBvi-yank-eol\fP (unbound) (Y)
  346. XCopy the region from the cursor position to the end of the line
  347. Xinto the kill buffer.
  348. X.SS Arguments
  349. X.TP
  350. X\fBdigit-argument\fP (ESC-0..ESC-9) (0-9)
  351. XStart a new numeric argument, or add to the current one.
  352. X.TP
  353. X\fBuniversal-argument\fP
  354. XMultiply the argument of the next command by 4.
  355. X.SS Completion
  356. X.TP
  357. X\fBaccept-and-menu-complete\fP
  358. XIn a menu completion, insert the current completion into the buffer,
  359. Xand advance to the next possible completion.
  360. X.TP
  361. X\fBcomplete-word\fP (unbound) (\|\e\|)
  362. XAttempt completion on the current word.
  363. X.TP
  364. X\fBdelete-char-or-list\fP (^D)
  365. XDelete the character under the cursor.  If the cursor
  366. Xis at the end of the line, list possible completions for the
  367. Xcurrent word.
  368. X.TP
  369. X\fBexecute-named-cmd\fP (ESC-x)
  370. XRead the name of a editor command and execute it.
  371. X.TP
  372. X\fBexecute-last-named-cmd\fP (ESC-z)
  373. XRedo the last function executed with \fBexecute-named-cmd\fP.
  374. X.TP
  375. X\fBexpand-cmd-path\fP
  376. XExpand the current command to its full pathname.
  377. X.TP
  378. X\fBexpand-or-complete\fP (TAB) (TAB ^X)
  379. XAttempt shell expansion on the current word.
  380. XIf that fails,
  381. Xattempt completion.
  382. X.TP
  383. X\fBexpand-history\fP (ESC-space ESC-!)
  384. XPerform history expansion on the edit buffer.
  385. X.TP
  386. X\fBexpand-word\fP (^X*)
  387. XAttempt shell expansion on the current word.
  388. X.TP
  389. X\fBlist-choices\fP (ESC-^D) (^D =)
  390. XList possible completions for the current word.
  391. X.TP
  392. X\fBlist-expand\fP (^Xg ^XG) (^G)
  393. XList the expansion of the current word.
  394. X.TP
  395. X\fBmagic-space\fP
  396. XPerform history expansion and insert a space into the
  397. Xbuffer.  This is intended to be bound to space.
  398. X.TP
  399. X\fBmenu-complete\fP
  400. XLike \fBcomplete-word\fP, except that menu completion is used.
  401. XSee the \fBMENU_COMPLETE\fP option below.
  402. X.TP
  403. X\fBmenu-expand-or-complete\fP
  404. XLike \fBexpand-or-complete\fP, except that menu completion is used.
  405. X.TP
  406. X\fBreverse-menu-complete\fP
  407. XSee the \fBMENU_COMPLETE\fP option below.
  408. X.SS Miscellaneous
  409. X.TP
  410. X\fBaccept-and-hold\fP (ESC-A ESC-a)
  411. XPush the contents of the buffer on the buffer stack
  412. Xand execute it.
  413. X.TP
  414. X\fBaccept-and-infer-next-history\fP
  415. XExecute the contents of the buffer.
  416. XThen search the history list for a line matching the current one
  417. Xand push the event following onto the buffer stack.
  418. X.TP
  419. X\fBaccept-line\fP (^J ^M)
  420. XExecute the contents of the buffer.
  421. X.TP
  422. X\fBaccept-line-and-down-history\fP (^O)
  423. XExecute the current line, and push the next history
  424. Xevent on the the buffer stack.
  425. X.TP
  426. X\fBvi-cmd-mode\fP (^X^V) (^[)
  427. XEnter command mode; that is, use the alternate keymap.
  428. XYes, this is bound by default in emacs mode.
  429. X.TP
  430. X\fBvi-caps-lock-panic\fP (unbound) (H K)
  431. XHang until any lowercase key is pressed.
  432. XThis is for vi users without the mental capacity to keep
  433. Xtrack of their caps lock key (like the author).
  434. X.TP
  435. X\fBclear-screen\fP (^L ESC-^L)
  436. XClear the screen and redraw the prompt.
  437. X.TP
  438. X\fBexchange-point-and-mark\fP (^X^X)
  439. XExchange the cursor position with the position of the mark.
  440. X.TP
  441. X\fBget-line\fP (ESC-G ESC-g)
  442. XPop the top line off the buffer stack and insert it at the
  443. Xcursor position.
  444. X.TP
  445. X\fBpound-insert\fP (unbound) (#)
  446. XIf there is no # character at the beginning of the current line,
  447. Xadd one.  If there is one, remove it.  In either case, accept the
  448. Xcurrent line.  The \fBINTERACTIVE_COMMENTS\fP option must be set
  449. Xfor this to have any usefulness.
  450. X.TP
  451. X\fBpush-line\fP (^Q ESC-Q ESC-q)
  452. XPush the current buffer onto the buffer stack and clear
  453. Xthe buffer.
  454. XNext time the editor starts up, the buffer will be popped
  455. Xoff the top of the buffer stack and loaded into the editing
  456. Xbuffer.
  457. X.TP
  458. X\fBredisplay\fP (unbound) (^R)
  459. XRedisplays the edit buffer.
  460. X.TP
  461. X\fBrun-help\fP (ESC-H ESC-h)
  462. XPush the buffer onto the buffer stack, and execute the
  463. Xcommand "\fBrun-help\fP \fIcmd\fP", where \fIcmd\fP is the current
  464. Xcommand.  \fBrun-help\fP is normally aliased to \fBman\fP.
  465. X.TP
  466. X\fBsend-break\fP (^C)
  467. XAbort the parsing of the current line.
  468. X.TP
  469. X\fBvi-set-buffer\fP (unbound) (")
  470. XSpecify a buffer to be used in the following command.
  471. X.TP
  472. X\fBvi-set-mark\fP (unbound) (m)
  473. XSet the specified mark at the cursor position.
  474. X.TP
  475. X\fBset-mark-command\fP (^@)
  476. XSet the mark at the cursor position.
  477. X.TP
  478. X\fBspell-word\fP (ESC-$ ESC-S ESC-s)
  479. XAttempt spelling correction on the current word.
  480. X.TP
  481. X\fBundefined-key\fP
  482. XBeep.
  483. X.TP
  484. X\fBundo\fP (^_ ^X^U) (u)
  485. XIncrementally undo the last text modification.
  486. X.TP
  487. X\fBwhich-command\fP (ESC-?)
  488. XPush the buffer onto the buffer stack, and execute the
  489. Xcommand "\fBwhich-command\fP \fIcmd\fP", where \fIcmd\fP is the current
  490. Xcommand.  \fBwhich-command\fP is normally aliased to \fBwhence\fP.
  491. X.SH PARAMETERS
  492. XA parameter has a name, a value, and a number of attributes.
  493. XA name may be any sequence of alphanumeric
  494. Xcharacters and _'s, or the single characters
  495. X*, @, #, ?, \-, $, or !.
  496. XThe value may be either a \fIscalar\fP (a string),
  497. Xan integer, or an array.
  498. XTo assign a scalar or integer value to a parameter,
  499. Xuse the \fBtypeset\fP builtin.
  500. XTo assign an array value, use \fBset \-A\fP \fIname\fP \fIvalue\fP ....
  501. XThe value of a parameter may also be assigned by writing:
  502. X.RS
  503. X.PP
  504. X\fIname\fP=\fIvalue\fP ...
  505. X.RE
  506. X.PP
  507. XIf the integer attribute, \-\fBi\fP, is set for \fIname\fP,
  508. Xthe \fIvalue\fP is subject to arithmetic evaluation.
  509. X.PP
  510. XThe value of an array parameter may be assigned by writing:
  511. X.RS
  512. X.PP
  513. X\fIname\fP=(\fIvalue\fP ...) ...
  514. X.RE
  515. XIndividual elements of an array may be selected using a 
  516. Xsubscript.  A subscript of the form \fB[\fIexp\fB]\fR
  517. Xselects the single element \fIexp\fP, where \fIexp\fP is
  518. Xan arithmetic expression.  The elements are numbered
  519. Xbeginning with 1.
  520. XA subscript of the form \fB[*]\fP or \fB[@]\fP evaluates to all
  521. Xelements of an array; there is no difference between the two
  522. Xexcept when they appear within double quotes.
  523. X"$foo[*]" evaluates to "$foo[1] $foo[2] ...", while
  524. X"$foo[@]" evaluates to "$foo[1]" "$foo[2]", etc.
  525. XA subscript of the form \fB[\fIexp1\fP,\fIexp2\fB]\fR
  526. Xselects all elements in the range \fIexp1\fP to \fIexp2\fP,
  527. Xinclusive.
  528. XIf one of the subscripts evaluates to a negative number,
  529. Xsay \-\fIn\fP, then the \fIn\fPth element from the end
  530. Xof the array is used.  Thus "$foo[-3]" is the third element
  531. Xfrom the end of the array \fIfoo\fP, and
  532. X"$foo[1,-1]" is the same as "$foo[*]".
  533. X.PP
  534. XSubscripting may also be performed on non-array values, in which
  535. Xcase the subscripts specify a substring to be extracted.
  536. XFor example, if \fBFOO\fP is set to \fBfoobar\fP, then
  537. X\fBecho $FOO[2,5]\fP prints \fBooba\fP.
  538. X.SS Positional Parameters
  539. XPositional parameters are set by the shell on invocation,
  540. Xby the \fBset\fP builtin, or by direct assignment.
  541. XThe parameter \fIn\fP, where \fIn\fP is a number,
  542. Xis the \fIn\fPth positional parameter.
  543. XThe parameters \fB*\fP, \fB@\fP, and \fBargv\fP are
  544. Xarrays containing all the positional parameters;
  545. Xthus \fBargv\fP[\fIn\fP], etc. is equivalent to simply \fIn\fP.
  546. X.SS Special Parameters
  547. XThe following parameters are automatically set by the shell:
  548. X.PP
  549. X.RS
  550. X.PD 0
  551. X.TP
  552. X.B !
  553. XThe process id of the last background command invoked.
  554. X.TP
  555. X.B #
  556. XThe number of positional parameters in decimal.
  557. X.TP
  558. X.B ARGC
  559. XSame as \fB#\fP.
  560. X.TP
  561. X.B $
  562. XThe process id of this shell.
  563. X.TP
  564. X.B \-
  565. XFlags supplied to the shell on invocation or by the \fBset\fP
  566. Xor \fBsetopt\fP commands.
  567. X.TP
  568. X.B *
  569. XAn array containing the positional parameters.
  570. X.TP
  571. X.B argv
  572. XSame as \fB*\fP.
  573. X.TP
  574. X.B @
  575. XSame as \fBargv[@]\fP.
  576. X.TP
  577. X.B ?
  578. XThe exit value returned by the last command.
  579. X.TP
  580. X.B status
  581. XSame as \fB?\fP.
  582. X.TP
  583. X.B _
  584. XThe last argument of the previous command.
  585. XAlso, this parameter is set in the environment of every command
  586. Xexecuted to the full pathname of the command.
  587. X.TP
  588. X.B ERRNO
  589. XThe value of errno as set by the most recently failed system call.
  590. XThis value is system dependent and is intended for debugging
  591. Xpurposes.
  592. X.TP
  593. X.B GID
  594. XThe group id of the shell process.
  595. X.TP
  596. X.B HOST
  597. XThe current hostname.
  598. X.TP
  599. X.B HOSTTYPE
  600. XA string corresponding to the type of the host the shell
  601. Xis running on.
  602. X.TP
  603. X.B LINENO
  604. XThe line number of the current line within the current script
  605. Xbeing executed.
  606. X.TP
  607. X.B OLDPWD
  608. XThe previous working directory.
  609. X.TP
  610. X.B OPTARG
  611. XThe value of the last option argument processed by the \fBgetopts\fP
  612. Xcommand.
  613. X.TP
  614. X.B OPTIND
  615. XThe index of the last option argument processed by the \fBgetopts\fP
  616. Xcommand.
  617. X.TP
  618. X.B PPID
  619. XThe process id of the parent of the shell.
  620. X.TP
  621. X.B PWD
  622. XThe present working directory.
  623. X.TP
  624. X.B RANDOM
  625. XA random integer from 0 to 32767, newly generated each time
  626. Xthis parameter is referenced.  The random number generator
  627. Xcan be seeded by assigning a numeric value to \fBRANDOM\fP.
  628. X.TP
  629. X.B SECONDS
  630. XThe number of seconds since shell invocation.  If this parameter
  631. Xis assigned a value, then the value returned upon reference
  632. Xwill be the value that was assigned plus the number of seconds
  633. Xsince the assignment.
  634. X.TP
  635. X.B SHLVL
  636. XIncremented by one each time a new shell is started.
  637. X.TP
  638. X.B signals
  639. XAn array containing the names of the signals.
  640. X.TP
  641. X.B TTY
  642. XThe name of the tty associated with the shell, if any.
  643. X.TP
  644. X.B UID
  645. XThe user id of the shell process.
  646. X.TP
  647. X.B USERNAME
  648. X.TP
  649. X.B LOGNAME
  650. XThe username corresponding to the user id of the shell process.
  651. X.TP
  652. X.B VERSION
  653. XThe version number of this \fBzsh\fP.
  654. X.PD
  655. X.RE
  656. X.PP
  657. XThe following parameters are used by the shell:
  658. X.PP
  659. X.RS
  660. X.PD 0
  661. X.TP
  662. X.B BAUD
  663. XThe baud rate of the current connection.  Used by the line editor
  664. Xupdate mechanism to compensate for a slow terminal by delaying
  665. Xupdates until necessary.  This may be profitably set to a lower value
  666. Xin some circumstances, e.g.
  667. Xfor slow modems dialing into a communications server which is connected
  668. Xto a host via a fast link; in this case, this variable
  669. Xwould be set by default to the speed of the fast link, and not
  670. Xthe modem.
  671. XThis parameter should be set to the baud
  672. Xrate of the slowest part of the link for best performance.
  673. X.TP
  674. X.B bindcmds
  675. XAn write-only array
  676. Xof command names which take line editor function names
  677. Xas arguments, and which therefore should allow binding
  678. Xcompletion.
  679. X.TP
  680. X.B cdpath (CDPATH)
  681. XAn array (colon-separated list)
  682. Xof directories specifying the search path for the \fBcd\fP command.
  683. X.TP
  684. X.B COLUMNS
  685. XThe number of columns for this terminal session.
  686. XUsed for printing select lists and for the line editor.
  687. X.TP
  688. X.B DIRSTACKSIZE
  689. XThe maximum size of the directory stack.  If the 
  690. Xstack gets larger than this, it will be truncated automatically.
  691. XThis is useful with the \fBAUTO_PUSHD\fP option.
  692. X.TP
  693. X.B FCEDIT
  694. XThe default editor for the \fBfc\fP builtin.
  695. X.TP
  696. X.B fignore (FIGNORE)
  697. XAn array (colon separated list)
  698. Xcontaining the suffixes of files to be ignored
  699. Xduring filename completion.
  700. X.TP
  701. X.B fpath (FPATH)
  702. XAn array (colon separated list)
  703. Xof directories specifying the search path for
  704. Xfunction definitions.  This path is searched when a function
  705. Xwith the \-\fBu\fP attribute is referenced.  If an executable
  706. Xfile is found, then it is read and executed in the current environment.
  707. X.TP
  708. X.B HISTCHARS
  709. XThree characters used by the shell's history and lexical analysis
  710. Xmechanism.  The first character signals the start of a history
  711. Xsubstitution (default `!').  The second character signals the
  712. Xstart of a quick history substitution (default `^').  The third
  713. Xcharacter is the comment character (default `#').
  714. X.TP
  715. X.B HISTFILE
  716. XThe file to save the history in when an interactive shell exits.
  717. XIf unset, the history is not saved.
  718. X.TP
  719. X.B HISTSIZE
  720. XThe maximum size of the history list.
  721. X.TP
  722. X.B HOME
  723. XThe default argument for the \fBcd\fP command.
  724. X.TP
  725. X.B hostcmds
  726. XAn write-only array of command names which
  727. Xtake hostnames as arguments, and which should therefore
  728. Xallow hostname completion.  This sort of completion is also
  729. Xused in words containing a \fB@\fP character.
  730. X.TP
  731. X.B hosts (HOSTS)
  732. XAn array (colon separated list) of hostnames to use
  733. Xfor hostname completion.
  734. X.TP
  735. X.B IFS
  736. XInternal field separators, normally space, tab, and newline, that
  737. Xare used to separate words which result from
  738. Xcommand or parameter substitution and words read by
  739. Xthe \fBread\fP builtin.
  740. X.TP
  741. X.B LINES
  742. XThe number of lines for this terminal session.
  743. XUsed for printing select lists and for the line editor.
  744. X.TP
  745. X.B LISTMAX
  746. XIn the line editor,
  747. Xthe number of filenames to list without asking first.
  748. X.TP
  749. X.B LITHISTSIZE
  750. XThe maximum size of the literal history list (before history expansion).
  751. X.TP
  752. X.B LOGCHECK
  753. XThe interval in seconds between checks for login/logout activity
  754. Xusing the \fBwatch\fP parameter.
  755. X.TP
  756. X.B MAIL
  757. XIf this parameter is set and \fBmailpath\fP is not set,
  758. Xthe shell looks for mail in the specified file.
  759. X.TP
  760. X.B MAILCHECK
  761. XThe interval in seconds between checks for new mail. 
  762. X.TP
  763. X.B mailpath (MAILPATH)
  764. XAn array (colon-separated list)
  765. Xof filenames to check for new mail.  Each filename can
  766. Xbe followed by a ? and a message that will be printed.
  767. XThe sequence $_ in the message will be replaced by the name 
  768. Xof the mail file.
  769. XThe default message is "You have new mail."
  770. X.TP
  771. X.B manpath (MANPATH)
  772. XAn array (colon-separated list)
  773. Xwhose value is not used by the shell.  The \fBmanpath\fP
  774. Xarray can be useful, however, since setting it also sets
  775. X\fBMANPATH\fP, and vice versa.
  776. X.TP
  777. X.B NULLCMD
  778. XThe command name to assume if a redirection is specified
  779. Xwith no command.  Defaults to \fBcat\fP.  For sh/ksh-like
  780. Xbehavior, change this to \fB:\fP.  For csh-like
  781. Xbehavior, unset this parameter; the shell will print an
  782. Xerror message if null commands are entered.
  783. X.TP
  784. X.B optcmds
  785. XAn write-only array of
  786. Xcommands which take options as arguments, and which
  787. Xtherefore should allow option completion.
  788. X.TP
  789. X.B path (PATH)
  790. XAn array (colon-separated list)
  791. Xof directories to search for commands.
  792. XWhen this parameter is set, each directory is scanned
  793. Xand all files found are put in a hash table.
  794. X.TP
  795. X.B POSTEDIT
  796. XThis string is output whenever the line editor exits.
  797. XIt usually contains termcap strings to reset the terminal.
  798. X.TP
  799. X.B PROMPT
  800. XThe primary prompt string, printed before a command is read;
  801. Xthe default is "%m%# ".
  802. XThe following escape sequences are recognized:
  803. X.PD
  804. X.PP
  805. X.PD 0
  806. X.RS
  807. X.TP
  808. X.B %d
  809. X.TP
  810. X.B %/
  811. XPresent working directory ($PWD).
  812. X.TP
  813. X.B %~
  814. X$PWD.
  815. XIf it has a named directory as its prefix, that part is replaced
  816. Xby a ~ followed by the name of the directory.
  817. XIf it starts with $HOME, that part is
  818. Xreplaced by a ~.
  819. X.TP
  820. X.B %c
  821. X.TP
  822. X.B %.
  823. X.TP
  824. X.B %C
  825. XTrailing component of $PWD.
  826. XMay be followed by a digit to get more than one component.
  827. XUnless \fB%C\fP is used, tilde expansion is performed first.
  828. X.TP
  829. X.B !
  830. X.TP
  831. X.B %h
  832. X.TP
  833. X.B %!
  834. XCurrent history event number
  835. X.TP
  836. X.B %M
  837. XThe full machine hostname.
  838. X.TP
  839. X.B %m
  840. XThe hostname up to the first '.'.
  841. XMay be followed by a digit to specify
  842. Xhow many components of the hostname are desired.
  843. X.TP
  844. X.B %S (%s)
  845. XStart (stop) standout mode.
  846. X.TP
  847. X.B %U (%u)
  848. XStart (stop) underline mode.
  849. X.TP
  850. X.B %B (%b)
  851. XStart (stop) boldface mode.
  852. X.TP
  853. X.B %t
  854. X.TP
  855. X.B %@
  856. XCurrent time of day, in 12-hour, am/pm format.
  857. X.TP
  858. X.B %T
  859. XCurrent time of day, in 24-hour format.
  860. X.TP
  861. X.B %*
  862. XCurrent time of day in 24-hour format, with seconds.
  863. X.TP
  864. X.B %n
  865. X\fB$USERNAME\fP.
  866. X.TP
  867. X.B %w
  868. XThe date in day\-dd format.
  869. X.TP
  870. X.B %W
  871. XThe date in mm/dd/yy format.
  872. X.TP
  873. X.B %D
  874. XThe date in yy\-mm\-dd format.
  875. X.TP
  876. X.B %D{\fIstring\fP}
  877. X\fIstring\fP is formatted using the \fBstrftime\fP function.
  878. XSee \fBstrftime(3)\fP for more details, if your system has it.
  879. X.TP
  880. X.B %l
  881. XThe line (tty) the user is logged in on.
  882. X.TP
  883. X.B %?
  884. XThe return code of the last command executed just before the prompt.
  885. X.TP
  886. X.B %#
  887. XA '#' if the shell is running as root, a '%' if not.
  888. X.TP
  889. X\fB%{\fP...\fB%}\fP
  890. XInclude a string as a literal escape sequence.
  891. XThe string within the braces should not change the cursor
  892. Xposition.
  893. X.RE
  894. X.PD
  895. X.PP
  896. X.PD 0
  897. X.TP
  898. X.B PROMPT2
  899. XThe secondary prompt, printed when the shell needs more information
  900. Xto complete a command.
  901. XRecognizes the same escape sequences as \fB$PROMPT\fP.
  902. XThe default is "> ".
  903. X.TP
  904. X.B PROMPT3
  905. XSelection prompt used within a \fBselect\fP loop.
  906. XRecognizes the same escape sequences as \fB$PROMPT\fP.
  907. XThe default is "?# ".
  908. X.TP
  909. X.B PROMPT4
  910. XThe execution trace prompt.  Default is "+ ".
  911. X.TP
  912. X.B PS1
  913. X.TP
  914. X.B PS2
  915. X.TP
  916. X.B PS3
  917. X.TP
  918. X.B PS4
  919. XSame as \fBPROMPT\fP, \fBPROMPT2\fP, \fBPROMPT3\fP, and \fBPROMPT4\fP,
  920. Xrespectively.
  921. X.TP
  922. X.B prompt
  923. XSame as \fBPROMPT\fP.
  924. X.TP
  925. X.B READNULLCMD
  926. XThe command name to assume if a single input redirection
  927. Xis specified with no command.  Defaults to \fBmore\fP.
  928. X.TP
  929. X.B REPORTTIME
  930. XIf nonzero, commands whose combined user and system execution times
  931. X(measured in seconds) are greater than this value have timing
  932. Xstatistics printed for them.
  933. X.TP
  934. X.B RPROMPT
  935. X.TP
  936. X.B RPS1
  937. XThis prompt is displayed on the right-hand side of the screen
  938. Xwhen the primary prompt is being displayed on the left.
  939. XThis does not work if the \fBSINGLELINEZLE\fP option is set.
  940. XRecognizes the same escape sequences as \fBPROMPT\fP,
  941. Xexcept that termcap sequences like \fB%s\fP, etc. will not work.
  942. X.TP
  943. X.B SAVEHIST
  944. XThe maximum number of history events to save in the history file.
  945. X.TP
  946. X.B SPROMPT
  947. XThe prompt used for spelling correction.  The sequence
  948. X\fB%R\fP expands to the string which presumably needs spelling
  949. Xcorrection, and \fB%r\fP expands to the proposed correction.
  950. XAll other \fBPROMPT\fP escapes are also allowed.
  951. X.TP
  952. X.B STTY
  953. XIf this parameter is set in a command's environment, the shell
  954. Xruns the \fBstty\fP command with the value of this parameter as arguments
  955. Xin order to set up the terminal before executing the command.
  956. X.TP
  957. X.B TIMEFMT
  958. XThe format of process time reports with the \fBtime\fP keyword.
  959. XThe default is "%E real  %U user  %S system  %P".
  960. XRecognizes the following escape sequences:
  961. X.PD
  962. X.PP
  963. X.PD 0
  964. X.RS
  965. X.TP
  966. X.B %U
  967. XCPU seconds spent in user mode.
  968. X.TP
  969. X.B %S
  970. XCPU seconds spent in kernel mode.
  971. X.TP
  972. X.B %E
  973. XElapsed time in seconds.
  974. X.TP
  975. X.B %P
  976. XThe CPU percentage, computed as (%U+%S)/%E.
  977. X.TP
  978. X.B %W
  979. XNumber of times the process was swapped.
  980. X.TP
  981. X.B %X
  982. XThe average amount in (shared) text space used in Kbytes.
  983. X.TP
  984. X.B %D
  985. XThe average amount in (unshared) data/stack space used in Kbytes.
  986. X.TP
  987. X.B %K
  988. XThe total space used (%X+%D) in Kbytes.
  989. X.TP
  990. X.B %M
  991. XThe maximum memory the process had in use at any time in Kbytes.
  992. X.TP
  993. X.B %F
  994. XThe number of major page faults (page needed to be brought from disk).
  995. X.TP
  996. X.B %R
  997. XThe number of minor page faults.
  998. X.TP
  999. X.B %I
  1000. XThe number of input operations.
  1001. X.TP
  1002. X.B %O
  1003. XThe number of output operations.
  1004. X.TP
  1005. X.B %r
  1006. XThe number of socket messages received.
  1007. X.TP
  1008. X.B %s
  1009. XThe number of socket messages sent.
  1010. X.TP
  1011. X.B %k
  1012. XThe number of signals received.
  1013. X.TP
  1014. X.B %w
  1015. XNumber of voluntary context switches (waits).
  1016. X.TP
  1017. X.B %c
  1018. XNumber of involuntary context switches.
  1019. X.TP
  1020. X.B %J
  1021. XThe name of this job.
  1022. X.RE
  1023. X.PD
  1024. X.PP
  1025. X.PD 0
  1026. X.TP
  1027. X.B TMOUT
  1028. XIf this parameter is nonzero, the shell will terminate if a command is not
  1029. Xentered within the specified number of seconds after issuing
  1030. Xa prompt.
  1031. X.TP
  1032. X.B TMPPREFIX
  1033. XA pathname prefix which the shell will use for all temporary files.
  1034. X.TP
  1035. X.B varcmds
  1036. XAn write-only array
  1037. Xof command names which take parameter names
  1038. Xas arguments, and which therefore should allow parameter
  1039. Xcompletion.
  1040. X.TP
  1041. X.B watch (WATCH)
  1042. XAn array (colon-separated list) of login/logout events to report.
  1043. XIf it contains the single word "all", then all login/logout events
  1044. Xare reported.
  1045. XAn entry in this list may consist of a username,
  1046. Xan `@' followed by a remote hostname,
  1047. Xand a `%' followed by a line (tty).
  1048. XAny or all of these components may be present in an entry;
  1049. Xif a login/logout event matches all of them,
  1050. Xit is reported.
  1051. X.TP
  1052. X.B WATCHFMT
  1053. XThe format of login/logout reports if the \fBwatch\fP parameter is set.
  1054. XDefault is "%n has %a %l from %m."
  1055. XRecognizes the following escape sequences:
  1056. X.PD
  1057. X.PP
  1058. X.PD 0
  1059. X.RS
  1060. X.TP
  1061. X.B %n
  1062. XThe name of the user that logged in/out.
  1063. X.TP
  1064. X.B %a
  1065. XThe observed action, i.e. "logged on" or "logged off".
  1066. X.TP
  1067. X.B %l
  1068. XThe line (tty) the user is logged in on.
  1069. X.TP
  1070. X.B %M
  1071. XThe full hostname of the remote host.
  1072. X.TP
  1073. X.B %m
  1074. XThe hostname up to the first ".".  If only the
  1075. Xip address is available or the utmp field contains
  1076. Xthe name of an X-windows display, the whole name is printed.
  1077. X.TP
  1078. X.B %S (%s)
  1079. XStart (stop) standout mode.
  1080. X.TP
  1081. X.B %U (%u)
  1082. XStart (stop) underline mode.
  1083. X.TP
  1084. X.B %B (%b)
  1085. XStart (stop) boldface mode.
  1086. X.TP
  1087. X.B %t
  1088. X.TP
  1089. X.B %@
  1090. XThe time, in 12-hour, am/pm format.
  1091. X.TP
  1092. X.B %T
  1093. XThe time, in 24-hour format.
  1094. X.TP
  1095. X.B %w
  1096. XThe date in day\-dd format.
  1097. X.TP
  1098. X.B %W
  1099. XThe date in mm/dd/yy format.
  1100. X.TP
  1101. X.B %D
  1102. XThe date in yy\-mm\-dd format.
  1103. X.RE
  1104. X.PD
  1105. X.PP
  1106. X.PD 0
  1107. X.TP
  1108. X.B WORDCHARS
  1109. XA list of nonalphanumeric characters considered part of a word
  1110. Xby the line editor.
  1111. X.TP
  1112. X.B ZDOTDIR
  1113. XThe directory to search for shell startup files (.zshrc, etc),
  1114. Xif not \fB$HOME\fP.
  1115. X.PD
  1116. X.RE
  1117. X.PP
  1118. X.SH OPTIONS
  1119. XThe following options may be set upon invocation of the shell,
  1120. Xor with the \fBset\fP or \fBsetopt\fP builtins:
  1121. X.RS
  1122. X.PD 0
  1123. X.TP
  1124. X\fBALLEXPORT\fP (\-\fBa\fP)
  1125. XAll parameters subsequently defined are automatically exported.
  1126. X.TP
  1127. X\fBAUTO_CD\fP (\-\fBJ\fP)
  1128. XIf a command is not in the hash table, and there exists an
  1129. Xexecutable directory by that name, perform the \fBcd\fP
  1130. Xcommand to that directory.
  1131. X.TP
  1132. X\fBAUTOLIST\fP (\-\fB9\fP)
  1133. XAutomatically list choices on an ambiguous completion.
  1134. X.TP
  1135. X\fBAUTOMENU\fP
  1136. XAutomatically use menu completion if the \fPTAB\fP
  1137. Xkey is pressed repeatedly.
  1138. X.TP
  1139. X\fBAUTO_PUSHD\fP (\-\fBN\fP)
  1140. XMake \fBcd\fP act like \fBpushd\fP.
  1141. X.TP
  1142. X\fBAUTO_RESUME\fP (\-\fBW\fP)
  1143. XTreat single word simple commands without redirection
  1144. Xas candidates for resumption of an existing job.
  1145. X.TP
  1146. X\fBBGNICE\fP (\-\fB6\fP)
  1147. XRun all background jobs at a lower priority.  This option
  1148. Xis set by default.
  1149. X.TP
  1150. X\fBBRACECCL\fP
  1151. XAllow brace expansions of the form \fB{a-zA-Z}\fP, etc.
  1152. X.TP
  1153. X\fBCDABLEVARS\fP (\-\fBT\fP)
  1154. XIf the argument to a \fBcd\fP command is not a directory,
  1155. Xbut a parameter exists by the same name whose value
  1156. Xbegins with a /, try to change to the directory
  1157. Xspecified by the parameter's value.
  1158. X.TP
  1159. X\fBCHASELINKS\fP (\-\fBw\fP)
  1160. XResolve symbolic links to their true values.
  1161. X.TP
  1162. X\fBCORRECT\fP (\-\fB0\fP)
  1163. XTry to correct the spelling of commands.
  1164. X.TP
  1165. X\fBCORRECT_ALL\fP (\-\fBO\fP)
  1166. XTry to correct the spelling of all arguments in a line.
  1167. X.TP
  1168. X\fBCSH_JUNKIE_LOOPS\fP
  1169. XAllow loop bodies to take the form
  1170. X"\fIlist\fP; \fBend\fP" instead of
  1171. X"\fBdo\fP \fIlist\fP; \fBdone\fP".
  1172. X.TP
  1173. X\fBCSH_JUNKIE_QUOTES\fP
  1174. XComplain if a quoted expression runs off the end of a line;
  1175. Xprevent quoted expressions from containing unescaped newlines.
  1176. X.TP
  1177. X\fBCSH_NULL_GLOB\fP
  1178. XIf a pattern for filename generation has no matches,
  1179. Xdelete the pattern from the argument list;
  1180. Xdo not report an error unless all the patterns
  1181. Xin a command have no matches.
  1182. XOverrides \fBNULLGLOB\fP.
  1183. X.TP
  1184. X\fBERREXIT\fP (\-\fBe\fP)
  1185. XIf a command has a non-zero exit status, execute the \fBERR\fP
  1186. Xtrap, if set, and exit.
  1187. X.TP
  1188. X\fBEXTENDED_GLOB\fP
  1189. XTreat the # and ^ characters as part of patterns for filename
  1190. Xgeneration, etc.
  1191. X.TP
  1192. X\fBGLOB_COMPLETE\fP
  1193. XLike \fBMENU_COMPLETE\fP, except that the current word
  1194. Xis expanded using normal shell expansion instead of completion.
  1195. XIf no matches are found, a * is added to the end of the word, and expansion
  1196. Xis attempted again.
  1197. X.TP
  1198. X\fBGLOB_DOTS\fP (\-\fB4\fP)
  1199. XDo not require a leading . in a filename to be matched explicitly.
  1200. X.TP
  1201. X\fBHASH_CMDS\fP
  1202. XPlace the location of each command in the hash table the first
  1203. Xtime it is executed.  If this option is unset, no path hashing
  1204. Xwill be done at all.
  1205. X.TP
  1206. X\fBHASH_DIRS\fP
  1207. XWhenever a command is executed, hash the directory containing it,
  1208. Xas well as all directories that occur earlier in the path.
  1209. XHas no effect if \fBHASH_CMDS\fP is unset.
  1210. X.TP
  1211. X\fBHASH_LIST_ALL\fP
  1212. XWhenever a command completion is attempted, make sure the entire
  1213. Xcommand path is hashed first.  This makes the first completion slower.
  1214. X.TP
  1215. X\fBHIST_IGNORE_DUPS\fP (\-\fBh\fP)
  1216. XDo not enter command lines into the history list
  1217. Xif they are duplicates of the previous event.
  1218. X.TP
  1219. X\fBHIST_IGNORE_SPACE\fP (\-\fBg\fP)
  1220. XDo not enter command lines into the history list
  1221. Xif they begin with a blank.
  1222. X.TP
  1223. X\fBHISTLIT\fP (\-\fBj\fP)
  1224. XUse literal (unparsed) versions of the history lines
  1225. Xin the editor.
  1226. X.TP
  1227. X\fBHIST_NO_STORE\fP
  1228. XRemove the \fBhistory\fP (\fBfc\fP \-\fBl\fP) command from
  1229. Xthe history when invoked.
  1230. X.TP
  1231. X\fBHIST_VERIFY\fP
  1232. XWhenever the user enters a line with history substitution,
  1233. Xdon't execute the line directly; instead, perform
  1234. Xhistory substitution and reload the line into the editing buffer.
  1235. X.TP
  1236. X\fBIGNORE_BRACES\fP (\-\fBI\fP)
  1237. XDo not perform brace expansion.
  1238. X.TP
  1239. X\fBIGNOREEOF\fP (\-\fB7\fP)
  1240. XDo not exit on end-of-file.  Require the use
  1241. Xof \fBexit\fP or \fBlogout\fP instead.
  1242. X.TP
  1243. X\fBINTERACTIVE\fP (\-\fBi\fP)
  1244. XThis is an interactive shell.
  1245. X.TP
  1246. X\fBINTERACTIVE_COMMENTS\fP (\-\fBk\fP)
  1247. XAllow comments even in interactive shells.
  1248. X.TP
  1249. X\fBKSH_OPTION_PRINT\fP
  1250. XAlters the way options settings are printed.
  1251. X.TP
  1252. X\fBLIST_TYPES\fP (\-\fBX\fP)
  1253. XWhen listing files that are possible completions, show the
  1254. Xtype of each file with a trailing identifying mark.
  1255. X.TP
  1256. X\fBLOGIN\fP (\-\fBl\fP)
  1257. XThis is a login shell.
  1258. X.TP
  1259. X\fBLONG_LIST_JOBS\fP (\-\fBR\fP)
  1260. XList jobs in the long format by default.
  1261. X.TP
  1262. X\fBMAIL_WARNING\fP (\-\fBU\fP)
  1263. XPrint a warning message if a mail file has been
  1264. Xaccessed since the shell last checked.
  1265. X.TP
  1266. X\fBMARKDIRS\fP (\-\fB8\fP)
  1267. XAppend a trailing / to all directory
  1268. Xnames resulting from filename generation (globbing).
  1269. X.TP
  1270. X\fBMENU_COMPLETE\fP (\-\fBY\fP)
  1271. XOn an ambiguous completion, instead of listing possibilities,
  1272. Xinsert the first match.  Then when completion is requested
  1273. Xagain, remove the first match and insert the second match, etc.
  1274. XWhen there are no more matches, go back to the first one again.
  1275. X\fBreverse-menu-complete\fP may be used to loop through the list
  1276. Xin the other direction.
  1277. X.TP
  1278. X\fBMENU_COMPLETE_BEEP\fP
  1279. XBeep on an ambiguous menu completion.
  1280. X.TP
  1281. X\fBMONITOR\fP (\-\fBm\fP)
  1282. XAllow job control.  Set by default in interactive shells.
  1283. X.TP
  1284. X\fBNO_BAD_PATTERN\fP (\-\fB2\fP)
  1285. XIf a pattern for filename generation is badly formed,
  1286. Xleave it unchanged in the argument list instead of
  1287. Xprinting an error.
  1288. X.TP
  1289. X\fBNO_BANG_HIST\fP (\-\fBK\fP)
  1290. XDo not perform textual history substitution.  Do not
  1291. Xtreat the ! character specially.
  1292. X.TP
  1293. X\fBNOBEEP\fP (\-\fBB\fP)
  1294. XDo not beep.
  1295. X.TP
  1296. X\fBNO_CLOBBER\fP (\-\fB1\fP)
  1297. XPrevents \fB>\fP redirection from truncating existing files.
  1298. X\fB>!\fP may be used to truncate a file instead.
  1299. XAlso prevents \fB>>\fP from creating files.
  1300. X\fB>>!\fP may be used instead.
  1301. X.TP
  1302. X\fBNO_EQUALS\fP
  1303. XDon't perform \fB=\fP filename substitution.
  1304. X.TP
  1305. X\fBNOEXEC\fP (\-\fBn\fP)
  1306. XRead commands and check them for syntax errors, but do not execute them.
  1307. X.TP
  1308. X\fBNOGLOB\fP (\-\fBF\fP)
  1309. XDisable filename generation.
  1310. X.TP
  1311. X\fBNO_HIST_BEEP\fP
  1312. XDon't beep when an attempt is made to access a history entry which
  1313. Xisn't there.
  1314. X.TP
  1315. X\fBNOHUP\fP
  1316. XDon't send the \fBHUP\fP signal to running jobs when the
  1317. Xshell exits.
  1318. X.TP
  1319. X\fBNO_LIST_BEEP\fP
  1320. XDon't beep on an ambiguous completion.
  1321. X.TP
  1322. X\fBNO_NOMATCH\fP (\-\fB3\fP)
  1323. XIf a pattern for filename generation has no matches,
  1324. Xleave it unchanged in the argument list instead of
  1325. Xprinting an error.
  1326. X.TP
  1327. X\fBNO_PROMPT_CR\fP (\-\fBV\fP)
  1328. XDon't print a carriage return just before printing
  1329. Xa prompt in the line editor.
  1330. X.TP
  1331. X\fBNO_RCS\fP (\-\fBf\fP)
  1332. XDo not source the .zshenv, .zshrc, .zlogin, .zlogout, or .zprofile files.
  1333. X.TP
  1334. X\fBNO_SHORT_LOOPS\fP
  1335. XDisallow the short forms of \fBfor\fP, \fBselect\fP,
  1336. X\fBif\fP, and \fBfunction\fP constructs.
  1337. X.TP
  1338. X\fBNOTIFY\fP (\-\fB5\fP)
  1339. XReport the status of background jobs immediately, rather than
  1340. Xwaiting until just before printing a prompt.
  1341. X.TP
  1342. X\fBNOUNSET\fP (\-\fBu\fP)
  1343. XTreat unset parameters as an error when substituting.
  1344. X.TP
  1345. X\fBNULLGLOB\fP (\-\fBG\fP)
  1346. XIf a pattern for filename generation has no matches,
  1347. Xdelete the pattern from the argument list instead
  1348. Xof reporting an error.  Overrides \fBNO_NOMATCH\fP.
  1349. X.TP
  1350. X\fBNUMERICGLOBSORT\fP
  1351. XIf numeric filenames are matched by a filename generation pattern,
  1352. Xsort the filenames numerically rather than lexicographically.
  1353. X.TP
  1354. X\fBOVERSTRIKE\fP
  1355. XStart up the line editor in overstrike mode.
  1356. X.TP
  1357. X\fBPATH_DIRS\fP (\-\fBQ\fP)
  1358. XPerform a path search even on command names with slashes in them.
  1359. XThus if "/usr/local/bin" is in the user's path, and he types
  1360. X"X11/xinit", the command "/usr/local/bin/X11/xinit" will be executed
  1361. X(assuming it exists).
  1362. X.TP
  1363. X\fBPRINT_EXIT_VALUE\fP (\-\fBC\fP)
  1364. XPrint the exit value of programs with non-zero exit status.
  1365. X.TP
  1366. X\fBPUSHD_IGNORE_DUPS\fP
  1367. XDon't push multiple copies of the same directory onto the directory stack.
  1368. X.TP
  1369. X\fBPUSHD_MINUS\fP
  1370. XSee \fBpopd\fP below.
  1371. X.TP
  1372. X\fBPUSHD_SILENT\fP (\-\fBE\fP)
  1373. XDo not print the directory stack after \fBpushd\fP
  1374. Xor \fBpopd\fP.
  1375. X.TP
  1376. X\fBPUSHD_TO_HOME\fP (\-\fBD\fP)
  1377. XHave \fBpushd\fP with no arguments act like
  1378. X\fBpushd\fP $HOME.
  1379. X.TP
  1380. X\fBRC_EXPAND_PARAM\fP (\-\fBP\fP)
  1381. XSee \fIParameter Expansion\fP.
  1382. X.TP
  1383. X\fBRC_QUOTES\fP
  1384. XAllow the character sequence \fB''\fP to signify a single quote
  1385. Xwithin singly quoted strings.
  1386. X.TP
  1387. X\fBRECEXACT\fP (\-\fBS\fP)
  1388. XIn completion, recognize exact matches even
  1389. Xif they are ambiguous.
  1390. X.TP
  1391. X\fBRMSTARSILENT\fP (\-\fBH\fP)
  1392. XDo not query the user before executing "rm *" or "rm path/*".
  1393. X.TP
  1394. X\fBSHINSTDIN\fP (\-\fBs\fP)
  1395. XRead commands from the standard input.
  1396. X.TP
  1397. X\fBSH_WORD_SPLIT\fP (\-\fBy\fP)
  1398. XSee \fIParameter Expansion\fP.
  1399. X.TP
  1400. X\fBSINGLE_LINE_ZLE\fP (\-\fBM\fP)
  1401. XUse single-line command line editing instead of multi-line.
  1402. X.TP
  1403. X\fBSUN_KEYBOARD_HACK\fP (\-\fBL\fP)
  1404. XIf a line ends with a backquote, and there are an odd number
  1405. Xof backquotes on the line, ignore the trailing backquote.
  1406. XThis is useful on some keyboards where the return key is
  1407. Xtoo small, and the backquote key lies annoyingly close to it.
  1408. X.TP
  1409. X\fBVERBOSE\fP (\-\fBv\fP)
  1410. XPrint shell input lines as they are read.
  1411. X.TP
  1412. X\fBXTRACE\fP (\-\fBx\fP)
  1413. XPrint commands and their arguments as they are executed.
  1414. X.TP
  1415. X\fBZLE\fP (\-\fBZ\fP)
  1416. XUse the zsh line editor.
  1417. X.RE
  1418. X.PD
  1419. X.SH "SHELL BUILTIN COMMANDS"
  1420. X.TP
  1421. X\fB\&.\fP \fIfile\fP [ \fIarg\fP ... ]
  1422. XRead and execute commands from \fIfile\fP in the current shell
  1423. Xenvironment.
  1424. XIf \fIfile\fP does not contain a slash, the shell
  1425. Xlooks in the components of \fBpath\fP to find the directory
  1426. Xcontaining \fIfile\fP.
  1427. XIf any arguments \fIarg\fP are given,
  1428. Xthey become the positional parameters; the old positional
  1429. Xparameters are restored when the \fIfile\fP is done executing.
  1430. XThe exit status is the exit status of the last command executed.
  1431. X.TP
  1432. X\fB:\fP [ \fIarg\fP ... ]
  1433. XThis command only expands parameters.  A zero exit code is returned.
  1434. X.TP
  1435. X\fBalias\fP [ \-\fBg\fP ] [ \fIname\fP[=\fIvalue\fP] ] ...
  1436. XWith no arguments, print the list of aliases in the form
  1437. X\fIname\fP=\fBvalue\fP on the standard output.
  1438. XFor each \fIname\fP with a corresponding \fIvalue\fP, define an alias 
  1439. Xwith that value.
  1440. XA trailing space in \fIvalue\fP causes the next
  1441. Xword to be checked for alias substitution.
  1442. XIf the \-\fBg\fP flag is present, define a global alias; global aliases
  1443. Xare expanded even if they do not occur in command position.
  1444. XFor each \fIname\fP with no \fIvalue\fP, print the value of \fIname\fP,
  1445. Xif any.
  1446. XThe exit status is nonzero if a \fIname\fP (with no \fIvalue\fP)
  1447. Xgiven for which no alias has been defined.
  1448. X.TP
  1449. X\fBautoload\fP [ \fIname\fP ... ]
  1450. XFor each of the \fIname\fPs (which are names of functions),
  1451. Xcreate a function marked undefined.
  1452. XThe \fBfpath\fP variable will be searched to find the
  1453. Xactual function definition when the function is first referenced.
  1454. X.TP
  1455. X.PD 0
  1456. X\fBbg\fP [ \fIjob\fP ... ]
  1457. X.TP
  1458. X\fIjob\fP ... \fB&\fP
  1459. X.PD
  1460. XPut each specified \fIjob\fP in the background,
  1461. Xor the current job if none is specified.
  1462. X.TP
  1463. X.PD 0
  1464. X\fBbindkey\fP \-\fBmevd
  1465. X.TP
  1466. X\fBbindkey\fP \-\fBr\fP \fIin-string\fP ...
  1467. X.TP
  1468. X\fBbindkey\fP [ \-\fBa\fP ] \fIin-string\fP [ \fIcommand\fP ] ...
  1469. X.TP
  1470. X\fBbindkey\fP \-\fBs\fP [ \-\fBa\fP ] \fIin-string\fP \fIout-string\fP ...
  1471. X.PD
  1472. XIf one of the \-\fBe\fP, \-\fBv\fP, or \-\fBd\fP options is given,
  1473. Xreset the keymaps for emacs mode, vi mode, or the default mode,
  1474. Xrespectively; if the \-\fBm\fP option is also given,
  1475. Xallow the use of a meta key.
  1476. XIf the \-\fBr\fP option is given, remove any binding for each \fIin-string\fP.
  1477. XIf the \-\fBs\fP option is not specified, bind each \fIin-string\fP
  1478. Xto a specified \fIcommand\fP.  If no \fIcommand\fP is specified,
  1479. Xprint the binding of \fIin-string\fP if it is bound, or return
  1480. Xa nonzero exit code if it is not bound.
  1481. XIf the \-\fBs\fP option is specified, bind each \fIin-string\fP
  1482. Xto each specified \fIout-string\fP.  When \fIin-string\fP is typed,
  1483. X\fIout-string\fP will be pushed back and treated as input to the
  1484. Xline editor.
  1485. XIf the \-\fBa\fP option is specified, bind the \fIin-string\fPs in the
  1486. Xalternative keymap instead of the standard one.  The alternative
  1487. Xkeymap is used in vi command mode.
  1488. X.RS
  1489. X.PP
  1490. XFor either \fIin-string\fP or \fIout-string\fP, control characters
  1491. Xmay be specified in the form \fB^X\fP, and the backslash may
  1492. Xbe used to introduce one of the following escape sequences:
  1493. X.RS
  1494. X.PD 0
  1495. X.TP
  1496. X.B \ea
  1497. Xbell character
  1498. X.TP
  1499. X.B \en
  1500. Xlinefeed (newline)
  1501. X.TP
  1502. X.B \eb
  1503. Xbackspace
  1504. X.TP
  1505. X.B \et
  1506. Xhorizontal tab
  1507. X.TP
  1508. X.B \ev
  1509. Xvertical tab
  1510. X.TP
  1511. X.B \ef
  1512. Xform feed
  1513. X.TP
  1514. X.B \er
  1515. Xcarriage return
  1516. X.TP
  1517. X.B \ee
  1518. Xescape
  1519. X.TP
  1520. X.B \ennn
  1521. Xcharacter code in octal
  1522. X.TP
  1523. X.B \eM\-xxx
  1524. Xcharacter or escape sequence with meta bit set
  1525. X.PD
  1526. X.PP
  1527. X.RE
  1528. XIn all other cases, \e escapes the following character.  Delete is
  1529. Xwritten as `\fB^?\fP'.
  1530. X.RE
  1531. X.TP
  1532. X\fBbreak\fP [ \fIn\fP ]
  1533. XExit from an enclosing \fBfor\fP, \fBwhile\fP,
  1534. X\fBuntil\fP, \fBselect\fP, or \fBrepeat\fP loop.  If \fIn\fP
  1535. Xis specified, then break \fIn\fP levels instead of just one.
  1536. X.TP
  1537. X\fBbuiltin\fP \fIname\fP [ \fIargs\fP ] ...
  1538. XExecutes the builtin \fIname\fP, with the given \fIargs\fP.
  1539. X.TP
  1540. X\fBbye\fP
  1541. XSame as \fBexit\fP.
  1542. X.TP
  1543. X.PD 0
  1544. X\fBcd\fP [ \fIarg\fP ]
  1545. X.TP
  1546. X\fBcd\fP \fIold\fP \fInew\fP
  1547. X.TP
  1548. X\fBcd\fP \(+-\fBn\fP
  1549. X.PD
  1550. XChange the current directory.  In the first form, change the
  1551. Xcurrent directory to \fIarg\fP, or to the value of \fBHOME\fP if
  1552. X\fIarg\fP is not specified.  If \fIarg\fP is \-, change to the
  1553. Xvalue of \fBOLDPWD\fP, the previous directory.
  1554. XIf a directory named \fIarg\fP is not found in the current directory
  1555. Xand \fIarg\fP does not begin with a slash,
  1556. Xsearch each component of the shell parameter \fBcdpath\fP.
  1557. XIf the option \fBCDABLEVARS\fP is set, and a parameter named \fIarg\fP
  1558. Xexists whose value begins with a slash, treat its value as
  1559. Xthe directory.
  1560. X.RS
  1561. X.PP
  1562. XThe second form of \fBcd\fP substitutes the string \fInew\fP
  1563. Xfor the string \fIold\fP in the name of the current directory,
  1564. Xand tries to change to this new directory.
  1565. X.PP
  1566. XThe third form of \fBcd\fP is equivalent to \fBpopd\fP.
  1567. X.RE
  1568. X.TP
  1569. X\fBchdir\fP
  1570. XSame as \fBcd\fP.
  1571. X.TP
  1572. X\fBcompctl\fP [ \-\fBcfhovbCD\fP ] [ \-\fBk\fP \fIname\fP ] [ \fIarg\fP ... ]
  1573. XControl the editor's completion behavior when one of \fIarg\fP is the current
  1574. Xcommand.  With the \-\fBD\fP flag, control default completion behavior
  1575. Xfor commands not assigned any special behavior; with \-\fBC\fP, control
  1576. Xcompletion when there is no current command.  The remaining options
  1577. Xspecify the type of command arguments to look for during completion.
  1578. XFor example, \fBcompctl\fP \-\fBhf\fP \fBrlogin\fP is equivalent
  1579. Xto \fBhostcmds=(rlogin)\fP.
  1580. X.RS
  1581. X.PD 0
  1582. X.TP
  1583. X\-\fBc\fP
  1584. XExpect command names.
  1585. X.TP
  1586. X\-\fBf\fP
  1587. XExpect filenames and filesystem paths.
  1588. X.TP
  1589. X\-\fBh\fP
  1590. XExpect hostnames taken from the \fB$hosts\fP variable.
  1591. X.TP
  1592. X\-\fBo\fP
  1593. XExpect option names.
  1594. X.TP
  1595. X\-\fBv\fP
  1596. XExpect variable names.
  1597. X.TP
  1598. X\-\fBb\fP
  1599. XExpect key binding names.
  1600. X.TP
  1601. X\-\fBk\fP \fIname\fP
  1602. XExpect names taken from the elements of \fB$name\fP.
  1603. X.PD
  1604. X.RE
  1605. X.TP
  1606. X\fBcontinue\fP [ \fInum\fP ]
  1607. XResume the next iteration of the enclosing
  1608. X\fBfor\fP, \fBwhile\fP, \fBuntil\fP, \fBselect\fP, or
  1609. X\fBrepeat\fP loop.  If \fIn\fP is specified, break out of
  1610. X\fIn\fP \- 1 loops and resume at the \fIn\fPth enclosing loop.
  1611. X.TP
  1612. X\fBdeclare\fP [ \fIarg\fP ... ]
  1613. XSame as \fBtypeset\fP.
  1614. X.TP
  1615. X\fBdirs\fP [ \-\fBv\fP ] [ \fIarg\fP ... ]
  1616. XWith no arguments, print the contents of the directory stack.
  1617. XIf the \-\fBv\fP option is given, number the directories
  1618. Xin the stack when printing.
  1619. XDirectories are added to this stack with the \fBpushd\fP command,
  1620. Xand removed with the \fBcd\fP or \fBpopd\fP commands.
  1621. XIf arguments are specified, load them onto the directory stack,
  1622. Xreplacing anything that was there, and push the current directory
  1623. Xonto the stack.
  1624. X.TP
  1625. X\fBdisable\fP \fIarg\fP ...
  1626. XDisable the builtin \fIarg\fP temporarily.  This allows you to use
  1627. Xan external command with the same name as a shell builtin.
  1628. XActually the same as \fBunhash\fP.
  1629. XBuiltins can be enabled with the \fBenable\fP command.
  1630. X.TP
  1631. X\fBdisown\fP \fIjob\fP ...
  1632. XRemove the specified jobs from the job table; the shell will
  1633. Xno longer report their status, and will not complain if you
  1634. Xtry to exit an interactive shell with them running or stopped.
  1635. X.TP
  1636. X\fBecho\fP [ \-\fBn\fP ] [ \fIarg\fP ... ]
  1637. XWrite each \fIarg\fP on the standard output, with a space separating
  1638. Xeach one.
  1639. XIf the \-\fBn\fP flag is not present, print a newline at the end.
  1640. X\fBecho\fP recognizes the following escape sequences:
  1641. X.RS
  1642. X.PD 0
  1643. X.TP
  1644. X.B \eb
  1645. Xbackspace
  1646. X.TP
  1647. X.B \ec
  1648. Xdon't print an ending newline
  1649. X.TP
  1650. X.B \ee
  1651. Xescape
  1652. X.TP
  1653. X.B \ef
  1654. Xform feed
  1655. X.TP
  1656. X.B \en
  1657. Xnewline
  1658. X.TP
  1659. X.B \er
  1660. Xcarriage return
  1661. X.TP
  1662. X.B \et
  1663. Xhorizontal tab
  1664. X.TP
  1665. X.B \ev
  1666. Xvertical tab
  1667. X.TP
  1668. X.B \e\e
  1669. Xbackslash
  1670. X.TP
  1671. X.B \exxx
  1672. Xcharacter code in octal
  1673. X.PD
  1674. X.RE
  1675. X.TP
  1676. X\fBechotc\fP \fIcap\fP [ \fIarg\fP ... ]
  1677. XOutput the termcap string corresponding to the capability
  1678. X\fIcap\fP, with optional arguments.
  1679. X.TP
  1680. X\fBenable\fP \fIarg\fP ...
  1681. XEnable the specified builtin commands, presumably disabled earlier
  1682. Xwith \fBdisable\fP.
  1683. X.TP
  1684. X\fBeval\fP [ \fIarg\fP ... ]
  1685. XRead the arguments as input to the shell and execute the resulting
  1686. Xcommand(s) in the current shell process.
  1687. X.TP
  1688. X\fBexit\fP [ \fIn\fP ]
  1689. XExit the shell with the exit code specified by \fIn\fP; if none
  1690. Xis specified, use the exit code from the last command executed.
  1691. XAn EOF condition will also cause the shell to exit, unless
  1692. Xthe \fBIGNOREEOF\fP option is set.
  1693. X.TP
  1694. X\fBexport\fP [ \fIname\fP[=\fIvalue\fP] ... ]
  1695. XThe specified \fIname\fPs are marked for automatic export
  1696. Xto the environment of subsequently executed commands.
  1697. X.TP
  1698. X\fBfalse\fP
  1699. XDo nothing and return an exit code of 1.
  1700. X.TP
  1701. X.PD 0
  1702. X\fBfc\fP [ \-\fBe\fP \fIename\fP ] [ \-\fBnlrdD\fP ] [ \fIold\fP=\fInew\fP ... ] [ \fIfirst\fP [ \fIlast\fP ] ]
  1703. X.TP
  1704. X\fBfc\fP \-\fBARW\fP [ \fIfilename\fP ]
  1705. X.PD
  1706. XSelect a range of commands from \fIfirst\fP to \fIlast\fP from the
  1707. Xhistory list.
  1708. XThe arguments \fIfirst\fP and \fIlast\fP may be specified as a
  1709. Xnumber or as a string.  A negative number is used as an offset
  1710. Xto the current history event number.
  1711. XA string specifies the most recent event
  1712. Xbeginning with the given string.
  1713. XAll substitutions \fIold\fP=\fInew\fP, if any, are then performed
  1714. SHAR_EOF
  1715. true || echo 'restore of zsh2.2/man/man1/zsh.1 failed'
  1716. fi
  1717. echo 'End of zsh2.2 part 4'
  1718. echo 'File zsh2.2/man/man1/zsh.1 is continued in part 5'
  1719. echo 5 > _shar_seq_.tmp
  1720. exit 0
  1721.  
  1722. exit 0 # Just in case...
  1723.