about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorFrank Terbeck <bewater@users.sourceforge.net>2010-07-30 17:32:41 +0000
committerFrank Terbeck <bewater@users.sourceforge.net>2010-07-30 17:32:41 +0000
commit1682d0cc109c6890b939fe96cee6c9c3dcd96858 (patch)
tree2c6eb36f75413804ea82fd1cd151adb24df9a664 /Doc
parenta5a27ad5ec261188e66f53fb1145a6e5fb291cd4 (diff)
downloadzsh-1682d0cc109c6890b939fe96cee6c9c3dcd96858.tar.gz
zsh-1682d0cc109c6890b939fe96cee6c9c3dcd96858.tar.xz
zsh-1682d0cc109c6890b939fe96cee6c9c3dcd96858.zip
Mikael Magnusson: 28110: Fix yodl warning.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/contrib.yo4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index e33ac9b9e..52efe90e1 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -464,8 +464,8 @@ It is possible to use tt(zstyle -e) to make the directory configurable
 at run time:
 
 example(zstyle -e ':chpwd:*' recent-dirs-file pick-recent-dirs-file
-pick-recent-dirs-file() {
-  if [[ $PWD = ~/text/writing(|/*) ]]; then
+pick-recent-dirs-file+LPAR()RPAR() {
+  if [[ $PWD = ~/text/writing+LPAR()|/*RPAR() ]]; then
     reply=(~/.chpwd-recent-dirs-writing)
   else
     reply=(+)