phy1729 reports that OpenBSD doesn't include a leading 0m in its control codes output. Thus, X04 tests fail on that OS. The temporary solution is: use pattern matching with leading (0m|), e.g.: ->0m27m24mtr7mu27me word2 word3 +*>(0m|)27m24mtr7mu27me word2 word3 Attached patch does this. In longer term one will have to debug zsh on OpenBSD. The phy1729's message: https://gist.github.com/phy1729/6206469618627afd031c167c26a3bf3c -- Sebastian Gniazdowski News: https://twitter.com/ZdharmaI IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin Blog: http://zdharma.org