Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: fix yodl warnings



From: Mikael Magnusson <mikachu@xxxxxxxxx>
---
 Doc/Zsh/contrib.yo |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index e33ac9b..52efe90 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=(+)
-- 
1.7.2.rc2



Messages sorted by: Reverse Date, Date, Thread, Author