2001-06-02 21:01:36 -04:00
|
|
|
$OpenBSD: patch-Doc_zsh_texi,v 1.2 2001/06/03 01:01:37 lebel Exp $
|
|
|
|
--- Doc/zsh.texi.orig Wed May 9 05:52:45 2001
|
|
|
|
+++ Doc/zsh.texi Mon May 14 09:56:09 2001
|
|
|
|
@@ -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
|
2001-06-02 21:01:36 -04:00
|
|
|
@@ -1271,14 +1275,14 @@ entirely quoted. A literal `@t{'}' char
|
|
|
|
string by using the `@t{\'}' escape.
|
|
|
|
|
|
|
|
@noindent
|
|
|
|
-All characters enclosed between a pair of single quotes (@t{@value{dsq}}) that
|
|
|
|
+All characters enclosed between a pair of single quotes (@t{'}@t{'}) that
|
|
|
|
is not preceded by a `@t{$}' are quoted. A single quote cannot appear
|
|
|
|
within single quotes unless the option @t{RC_QUOTES} is set, in which case
|
|
|
|
a pair of single quotes are turned into a single quote. For example,
|
|
|
|
|
|
|
|
@noindent
|
|
|
|
@example
|
|
|
|
-print @value{dsq}@value{dsq}
|
|
|
|
+print @t{'}@t{'}@t{'}@t{'}
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@noindent
|
|
|
|
@@ -2780,7 +2784,7 @@ that is to be assigned to the @emph{next
|
|
|
|
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
|
|
|
|
@@ -6670,7 +6674,7 @@ For example,
|
|
|
|
@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
|
|
|
|
@@ -6899,7 +6903,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.
|
|
|
|
@@ -10456,7 +10461,7 @@ An interrupt character will not be inser
|
|
|
|
@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)
|
|
|
|
@@ -13473,7 +13478,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
|
|
|
|
@@ -13740,7 +13745,7 @@ zstyle ':completion:*:default' list-colo
|
|
|
|
|
|
|
|
@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{'}).
|
|
|
|
|
|
|
|
@kindex list-packed, completion style
|
|
|
|
@item @t{list-packed}
|
|
|
|
@@ -13825,7 +13830,7 @@ completion one would do:
|
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
|
|
|
|
@@ -13850,7 +13855,7 @@ the @t{_complete} completer, one would d
|
|
|
|
@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
|
|
|
|
@@ -13868,7 +13873,7 @@ match specifications for each occurrence
|
|
|
|
@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
|
|
|
|
@@ -16799,7 +16804,7 @@ generates at least one match. E.g.:
|
|
|
|
|
|
|
|
@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
|
|
|
|
@@ -17011,7 +17016,7 @@ use is
|
|
|
|
|
|
|
|
@noindent
|
|
|
|
@example
|
|
|
|
-compctl -D -f + -H 0 @value{dsq}
|
|
|
|
+compctl -D -f + -H 0 @t{'}@t{'}
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@noindent
|
|
|
|
@@ -17099,7 +17104,7 @@ performed on the first word in the range
|
|
|
|
|
|
|
|
@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
|