Hendrik Vogelsang
f1f66c81d9
reviewed okay OBS-URL: https://build.opensuse.org/request/show/56833 OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=42
51 lines
1.5 KiB
Diff
51 lines
1.5 KiB
Diff
--- 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</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.
|
|
--- 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
|