about summary refs log tree commit diff
path: root/Doc/Zsh/contrib.yo
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/Zsh/contrib.yo')
-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=(+)