This only happens with the built-in (and limited) expand-word expansion. You need to load the compinit completion system and another expansion module to make it work:
→ zsh -f kiva6% ls -l a\'b total 0 -rw-r--r-- 1 abe abe 0 Jan 18 01:44 1 -rw-r--r-- 1 abe abe 0 Jan 18 01:44 2 -rw-r--r-- 1 abe abe 0 Jan 18 01:44 3 kiva6% autoload -Uz compinit kiva6% compinit kiva6% zstyle ':completion:*' completer _expand _complete _ignored kiva6% ls a\'b/*<Tab> a\'b/1 a\'b/2 a\'b/3 a\'b/* a\'b/1 a\'b/2 a\'b/3 See also http://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=32278 and following mails, especially http://www.zsh.org/cgi- bin/mla/redirect?WORKERNUMBER=32281 Works at least with zsh 5.0.5-1 from Debian Testing. ** Changed in: zsh (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/687461 Title: DIR/*<tab> expansion doesn't work with directories with apostrophe in the name To manage notifications about this bug go to: https://bugs.launchpad.net/zsh/+bug/687461/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs