2004-07-12 15:46:52 -04:00
|
|
|
$OpenBSD: patch-Doc_zsh_texi,v 1.1 2004/07/12 19:46:52 lebel Exp $
|
2003-07-03 08:56:51 -04:00
|
|
|
--- Doc/zsh.texi.orig Tue May 6 11:50:40 2003
|
|
|
|
+++ Doc/zsh.texi Thu May 22 10:01:06 2003
|
2001-06-02 21:01:36 -04:00
|
|
|
@@ -7,6 +7,10 @@
|
|
|
|
@end iftex
|
1999-03-14 02:54:05 -05:00
|
|
|
@setfilename zsh.info
|
2001-06-02 21:01:36 -04:00
|
|
|
@settitle zsh
|
1999-03-14 02:54:05 -05:00
|
|
|
+@dircategory Shells
|
|
|
|
+@direntry
|
1999-08-03 23:57:39 -04:00
|
|
|
+* Zsh: (zsh). The Z shell.
|
1999-03-14 02:54:05 -05:00
|
|
|
+@end direntry
|
|
|
|
@c %**end of header
|
|
|
|
|
1999-08-03 23:57:39 -04:00
|
|
|
@ifinfo
|
2003-07-03 08:56:51 -04:00
|
|
|
@@ -2959,7 +2963,7 @@ you may see in your prompt (see
|
2001-06-02 21:01:36 -04:00
|
|
|
A history expansion begins with the first character of the @t{histchars}
|
|
|
|
parameter, which is `@t{!}' by default, and may occur anywhere on the
|
|
|
|
command line; history expansions do not nest. The `@t{!}' can be escaped
|
|
|
|
-with `@t{\}' or can be enclosed between a pair of single quotes (@t{@value{dsq}})
|
|
|
|
+with `@t{\}' or can be enclosed between a pair of single quotes (@t{'}@t{'})
|
|
|
|
to suppress its special meaning. Double quotes will @emph{not} work for
|
|
|
|
this. Following this history character is an optional event designator
|
|
|
|
(@ref{Event Designators}) and then an optional word
|
2003-07-03 08:56:51 -04:00
|
|
|
@@ -7076,7 +7080,7 @@ For example,
|
2001-06-02 21:01:36 -04:00
|
|
|
@example
|
|
|
|
unsetopt localtraps
|
|
|
|
trap - INT
|
|
|
|
-fn() @{ setopt localtraps; trap @value{dsq} INT; sleep 3; @}
|
|
|
|
+fn() @{ setopt localtraps; trap @t{'}@t{'} INT; sleep 3; @}
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@noindent
|
2003-07-03 08:56:51 -04:00
|
|
|
@@ -7316,7 +7320,8 @@ Array expansions of the form
|
2000-07-04 22:05:28 -04:00
|
|
|
@cindex rc, quoting style
|
|
|
|
@cindex quoting style, rc
|
2001-06-02 21:01:36 -04:00
|
|
|
@item @t{RC_QUOTES}
|
|
|
|
-Allow the character sequence `@t{@value{dsq}}' to signify a single quote
|
|
|
|
+Allow the character sequence `@t{'}@t{'}' to signify a single
|
|
|
|
+quote
|
|
|
|
within singly quoted strings. Note this does not apply in quoted strings
|
|
|
|
using the format @t{$'}@var{...}@t{'}, where a backslashed single quote can
|
|
|
|
be used.
|
2003-07-03 08:56:51 -04:00
|
|
|
@@ -11219,7 +11224,7 @@ An interrupt character will not be inser
|
2001-06-02 21:01:36 -04:00
|
|
|
@item @t{quote-line} (ESC-') (unbound) (unbound)
|
|
|
|
Quote the current line; that is, put a `@t{'}' character at the
|
|
|
|
beginning and the end, and convert all `@t{'}' characters
|
|
|
|
-to `@t{'\@value{dsq}}'.
|
|
|
|
+to `@t{'\}@t{'}@t{'}'.
|
2000-07-04 22:05:28 -04:00
|
|
|
|
2001-06-02 21:01:36 -04:00
|
|
|
@tindex quote-region
|
|
|
|
@item @t{quote-region} (ESC-") (unbound) (unbound)
|
2003-07-03 08:56:51 -04:00
|
|
|
@@ -14515,7 +14520,7 @@ different types of matches displayed sep
|
2000-07-04 22:05:28 -04:00
|
|
|
|
2001-06-02 21:01:36 -04:00
|
|
|
@noindent
|
2000-07-04 22:05:28 -04:00
|
|
|
@example
|
2001-06-02 21:01:36 -04:00
|
|
|
-zstyle ':completion:*' group-name @value{dsq}
|
|
|
|
+zstyle ':completion:*' group-name @t{'}@t{'}
|
2000-07-04 22:05:28 -04:00
|
|
|
@end example
|
|
|
|
|
2001-06-02 21:01:36 -04:00
|
|
|
@noindent
|
2003-07-03 08:56:51 -04:00
|
|
|
@@ -14783,7 +14788,7 @@ zstyle ':completion:*:default' list-colo
|
2001-06-02 21:01:36 -04:00
|
|
|
|
|
|
|
@noindent
|
|
|
|
The default colors are the same as for the GNU @t{ls} command and can be
|
|
|
|
-obtained by setting the style to an empty string (i.e. @t{@value{dsq}}).
|
|
|
|
+obtained by setting the style to an empty string (i.e. @t{'}@t{'}).
|
|
|
|
|
2003-07-03 08:56:51 -04:00
|
|
|
@kindex list-grouped, completion style
|
|
|
|
@item @t{list-grouped}
|
|
|
|
@@ -14903,7 +14908,7 @@ generates no matches, case-insensitive c
|
2000-07-04 22:05:28 -04:00
|
|
|
|
2001-06-02 21:01:36 -04:00
|
|
|
@noindent
|
|
|
|
@example
|
|
|
|
-zstyle ':completion:*' matcher-list @value{dsq} 'm:@{a-zA-Z@}=@{A-Za-z@}'
|
|
|
|
+zstyle ':completion:*' matcher-list @t{'}@t{'} 'm:@{a-zA-Z@}=@{A-Za-z@}'
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@noindent
|
2003-07-03 08:56:51 -04:00
|
|
|
@@ -14927,7 +14932,7 @@ case-insensitive completion with @t{_com
|
2001-06-02 21:01:36 -04:00
|
|
|
@example
|
|
|
|
zstyle ':completion:*' completer _complete _prefix
|
|
|
|
zstyle ':completion:*:complete:*' matcher-list \
|
|
|
|
- @value{dsq} 'm:@{a-zA-Z@}=@{A-Za-z@}'
|
|
|
|
+ @t{'}@t{'} 'm:@{a-zA-Z@}=@{A-Za-z@}'
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@noindent
|
2003-07-03 08:56:51 -04:00
|
|
|
@@ -14942,7 +14947,7 @@ partial-word completion:
|
2001-06-02 21:01:36 -04:00
|
|
|
@example
|
|
|
|
zstyle ':completion:*' completer _complete _correct _complete:foo
|
|
|
|
zstyle ':completion:*:complete:*' matcher-list \
|
|
|
|
- @value{dsq} 'm:@{a-zA-Z@}=@{A-Za-z@}'
|
|
|
|
+ @t{'}@t{'} 'm:@{a-zA-Z@}=@{A-Za-z@}'
|
|
|
|
zstyle ':completion:*:foo:*' matcher-list \
|
|
|
|
'm:@{a-zA-Z@}=@{A-Za-z@} r:|[-_./]=* r:|=*'
|
|
|
|
@end example
|
2003-07-03 08:56:51 -04:00
|
|
|
@@ -18055,7 +18060,7 @@ generates at least one match. E.g.:
|
2001-06-02 21:01:36 -04:00
|
|
|
|
|
|
|
@noindent
|
|
|
|
@example
|
|
|
|
-compctl -M @value{dsq} 'm:@{a-zA-Z@}=@{A-Za-z@}'
|
|
|
|
+compctl -M @t{'}@t{'} 'm:@{a-zA-Z@}=@{A-Za-z@}'
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@noindent
|
2003-07-03 08:56:51 -04:00
|
|
|
@@ -18267,7 +18272,7 @@ use is
|
2001-06-02 21:01:36 -04:00
|
|
|
|
|
|
|
@noindent
|
|
|
|
@example
|
|
|
|
-compctl -D -f + -H 0 @value{dsq}
|
|
|
|
+compctl -D -f + -H 0 @t{'}@t{'}
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@noindent
|
2003-07-03 08:56:51 -04:00
|
|
|
@@ -18355,7 +18360,7 @@ performed on the first word in the range
|
2001-06-02 21:01:36 -04:00
|
|
|
|
|
|
|
@noindent
|
2000-07-04 22:05:28 -04:00
|
|
|
@example
|
|
|
|
-compctl -x 'r[-exec,;]' -l @value{dsq} -- find
|
|
|
|
+compctl -x 'r[-exec,;]' -l @t{'}@t{'} -- find
|
|
|
|
@end example
|
|
|
|
|
2001-06-02 21:01:36 -04:00
|
|
|
@noindent
|