As you can see here: https://pastebin.com/Q7fcrYhp there is an error in the parameters expansion syntax.
It should be "${LESSMETACHARS:+set}" and not just "${LESSMETACHARS+set}". zdiff, zgrep and zmore miss a colon in the source code in the same way. -- http://profiles.google.com/dardo82