summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/contrib.yo2
1 files changed, 1 insertions, 1 deletions
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}
 }