Sorry about this, I'm attaching the relevant (and maybe some irrelevant) parts of my .zshrc I changed from using file-patterns to simply list-dirs-first, which seems to have the same effect (without allowing me to manually specify tags and desciptions). In any case, if anyone has an idea for a workaround, I'd love to hear it On 29/12/14 05:55, Bart Schaefer wrote: > On Dec 27, 11:37pm, Aleksandrina Nikolova wrote: > } > } I hope I made myself clear. How can I "fix this"? > > You haven't made yourself entirely clear because there must be some > zstyle values or other settings that get you to the situation you have > so far. For example, I can't get anything even close to your example > output without at least "setopt globcomplete". > > However, I *think* the answer to your question is "you can't." The > _path_files completion function unconditionally passes the -p (hide > prefix) option to "compadd" with the longest unambiguous directory > path of every file name that it finds. > > I thought perhaps the "fake" style could be caused to create a false > ambiguity that would get you what you wanted, but I haven't managed > to formulate a working example.