zsh/zsh-4.3.10-doc_intro_paths.patch
2009-12-16 12:38:29 +00:00

55 lines
1.8 KiB
Diff

Index: Doc/intro.ms
===================================================================
--- Doc/intro.ms.orig 2007-07-03 19:03:03.000000000 +0200
+++ Doc/intro.ms 2009-12-02 19:12:41.000000000 +0100
@@ -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</tmp/funs/yp
-#!\0/usr/local/bin/zsh
+#!\0/usr/bin/zsh
ypmatch\0$1\0passwd.byname
%\0/tmp/funs/yp\0sukthnkr
sukthnkr:*:1267:35:Rahul\0Sukthankar:/u/sukthnkr:/usr/princeton/bin/tcsh
@@ -1153,7 +1153,7 @@ startup file, \fC.zshrc\fP.
There are several ways to manipulate history in \fBzsh\fP.
One way is to use csh-style \fC!\fP history:
.Ds
-%\0/usr/local/bin/!:0\0!-2*:s/foo/bar/\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.
Index: Test/E01options.ztst
===================================================================
--- Test/E01options.ztst.orig 2008-08-11 10:38:57.000000000 +0200
+++ Test/E01options.ztst 2009-12-02 19:12:41.000000000 +0100
@@ -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