From 2b75cf571e45fae6344ee6681a2d4418ab5ea165 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sat, 26 Jan 2013 22:54:01 +0000 Subject: 31000: fix typo in example --- ChangeLog | 6 +++++- Doc/Zsh/contrib.yo | 2 +- 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 + + * 31000: Doc/Zsh/contrib.yo: fix typo in example. + 2013-01-24 Peter Stephenson * 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} } -- cgit 1.4.1