--- Doc/intro.ms.orig +++ Doc/intro.ms @@ -516,13 +516,13 @@ separate process is not created.) %\0ed\0/tmp/funs/yp 25 i -#!\0/usr/local/bin/zsh +#!\0/usr/bin/zsh . w 42 q %\0>!$ +%\0/usr/bin/!:0\0!-2*:s/foo/bar/\0>>!$ .De If you don't want to use this, you can turn it off by typing \fCsetopt nobanghist\fP. If you are afraid of accidentally @@ -1191,9 +1191,9 @@ bar In this example, no event designator was used, which tells \fBzsh\fP to use the previous command. A \fC$\fP specifies the last argument .Ds -%\0mkdir\0/usr/local/lib/emacs/site-lisp/calc +%\0mkdir\0/usr/share/emacs/site-lisp/calc %\0cd\0!:$ -cd\0/usr/local/lib/emacs/site-lisp/calc +cd\0/usr/share/emacs/site-lisp/calc .De If you use more words of the same command, only the first \fC!\fP needs an event designator. --- Test/E01options.ztst.orig +++ Test/E01options.ztst @@ -116,7 +116,7 @@ >scalar # Count the number of directories on the stack. Don't care what they are. - dircount() { dirs -v | tail -1 | awk '{ print $1 + 1}'; } + dircount() { dirs -v | tail -n 1 | awk '{ print $1 + 1}'; } unsetopt autopushd cd tmpcd dircount