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

[PATCH] zshguide typo (was: how to use tags in zsh completion system)



Ahmad Ismail wrote on Wed, 26 Aug 2020 14:59 +0600:
>   [1]: http://zsh.sourceforge.net/Guide/zshguide06.html#l155

Incidentally, there's a mistake in there, a few screenfuls down:

diff --git a/Guide/zshguide/c6.yo b/Guide/zshguide/c6.yo
index 115ba40..4067917 100644
--- a/Guide/zshguide/c6.yo
+++ b/Guide/zshguide/c6.yo
@@ -909,7 +909,7 @@ The most powerful way of using tt(zstyle) is with the option tt(-e).  This
 says that the words you supply are to be evaluated as if as arguments to
 tt(eval).  This should set the array tt($reply) to the words to be used.
 So
-verb(  zstyle '*' days 'Monday Tuesday')
+verb(  zstyle '*' days Monday Tuesday)
 and
 verb(  zstyle -e '*' days 'reply=(Monday Tuesday)')
 are equivalent --- but the intention, of course, is that in the second case

I haven't tried to regenerate the latex and html with that change.
I don't really have time to figure it out, so I might cheat and
propagate the change by hand…

Cheers,

Daniel




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