about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2013-01-26 22:54:01 +0000
committerBart Schaefer <barts@users.sourceforge.net>2013-01-26 22:54:01 +0000
commit2b75cf571e45fae6344ee6681a2d4418ab5ea165 (patch)
tree35aab47097d57adad814551ef9426146c1e031b9
parent6265394d6bc431b9e972aaeccc29582a5694f842 (diff)
downloadzsh-2b75cf571e45fae6344ee6681a2d4418ab5ea165.tar.gz
zsh-2b75cf571e45fae6344ee6681a2d4418ab5ea165.tar.xz
zsh-2b75cf571e45fae6344ee6681a2d4418ab5ea165.zip
31000: fix typo in example
-rw-r--r--ChangeLog6
-rw-r--r--Doc/Zsh/contrib.yo2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1e1bab72d..a802a6a69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-26  Bart Schaefer  <schaefer@zsh.org>
+
+	* 31000: Doc/Zsh/contrib.yo: fix typo in example.
+
 2013-01-24  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* users/17608: Doc/Zsh/contrib.yo,
@@ -467,5 +471,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5789 $
+* $Revision: 1.5790 $
 *****************************************************
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 00f70a2bf..41a9d8158 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -2508,7 +2508,7 @@ example(modify-current-argument '${(qq)${(Q)ARG}}')
 The following performs directory expansion on the command line
 argument and replaces it by the absolute path:
 
-example(expand-dir() {
+example(expand-dir+LPAR()RPAR() {
   REPLY=${~1}
   REPLY=${REPLY:a}
 }