about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-10-27 12:29:13 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-10-27 12:29:13 +0000
commiteff9d597f3be3b4c5c246de38978acc60ee670e1 (patch)
tree2abb291f826d8d85f22ec654940215a2dd543534 /Doc
parente27a65dd6c4181b9d75f6209d4e34201ad432df4 (diff)
downloadzsh-eff9d597f3be3b4c5c246de38978acc60ee670e1.tar.gz
zsh-eff9d597f3be3b4c5c246de38978acc60ee670e1.tar.xz
zsh-eff9d597f3be3b4c5c246de38978acc60ee670e1.zip
unposted: typo plus rephrase of alias quoting bit
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/grammar.yo13
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo
index b8b20beed..27683fc70 100644
--- a/Doc/Zsh/grammar.yo
+++ b/Doc/Zsh/grammar.yo
@@ -480,12 +480,13 @@ may be defined using the tt(-g) option to that builtin.
 Alias expansion is done on the shell input before any other expansion
 except history expansion.  Therefore, if an alias is defined for the
 word tt(foo), alias expansion may be avoided by quoting part of the
-word, e.g. tt(\foo).  But there is nothing to prevent an alias being
-defined for tt(\foo) as well.  For use with completion, which would
-remove an initial backslash following by a character that isn't special,
-it may be more convenient to quote the word by starting with a single
-quote, i.e. tt('foo); completion will automatically add the trailing
-single quote.
+word, e.g. tt(\foo).  Any form of quoting works, although there is
+nothing to prevent an alias being defined for the quoted form such as
+tt(\foo) as well.  For use with completion, which would remove an
+initial backslash followed by a character that isn't special, it may be
+more convenient to quote the word by starting with a single quote,
+i.e. tt('foo); completion will automatically add the trailing single
+quote.
 
 There is a commonly encountered problem with aliases
 illustrated by the following code: