In fact, it is due to this line in prexec used to put the current command in the terminal title. preexec() { print -Pn "\e]0;$1\a" }
I found this information here https://bbs.archlinux.org/viewtopic.php?id=107834 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/435336 Title: zsh interpret some %[a-z] in command line -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs