Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

where history expansion fits in



Somebody ought to answer the question...

*** Doc/zshexpn.1.hist	Tue Nov 21 16:59:17 1995
--- Doc/zshexpn.1	Tue Nov 21 17:05:24 1995
***************
*** 12,18 ****
  \fIarithmetic expansion\fP,
  \fIbrace expansion\fP,
  and \fIfilename generation\fP.
! (Where does History expansion fit in here?)
  .SH FILENAME EXPANSION
  Each word is checked to see if it begins with an unquoted ~.
  If it does, then the word up to a / is checked to see if it matches
--- 12,21 ----
  \fIarithmetic expansion\fP,
  \fIbrace expansion\fP,
  and \fIfilename generation\fP.
! \fIHistory expansion\fP is a special case:  it is only performed in
! interactive shells and then only if the \fBNO_BANG_HIST\fP option is
! unset; it takes place while the line is being parsed.  It is described
! last.
  .SH FILENAME EXPANSION
  Each word is checked to see if it begins with an unquoted ~.
  If it does, then the word up to a / is checked to see if it matches
***************
*** 933,936 ****
  form of command history support
  is provided by the
  .B fc
! builtin (see below).
--- 936,939 ----
  form of command history support
  is provided by the
  .B fc
! builtin (see the entry in the \fBzshbuiltins\fP manual).

-- 
Peter Stephenson <pws@xxxxxx>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.



Messages sorted by: Reverse Date, Date, Thread, Author