From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7011 invoked by alias); 29 Dec 2014 03:55:46 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19640 Received: (qmail 5176 invoked from network); 29 Dec 2014 03:55:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=b6gFOWC0 c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=A92cGCtB03wA:10 a=eXfcblIwV0N2h_digwgA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <141228195514.ZM22827@torch.brasslantern.com> Date: Sun, 28 Dec 2014 19:55:14 -0800 In-reply-to: <549F26A7.8020005@gmail.com> Comments: In reply to Aleksandrina Nikolova "Always display prefix, even if unambiguous?" (Dec 27, 11:37pm) References: <549F26A7.8020005@gmail.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh Users Subject: Re: Always display prefix, even if unambiguous? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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.