From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6919 invoked by alias); 9 Aug 2013 13:28:20 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31647 Received: (qmail 3262 invoked from network); 9 Aug 2013 13:28:06 -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 Received-SPF: pass (ns1.primenet.com.au: SPF record at spf01.biglobe.ne.jp designates 133.205.19.69 as permitted sender) X-Biglobe-Sender: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: why '_file -/' completes files if there is no directory? From: "Jun T." In-Reply-To: <130808225913.ZM25757@torch.brasslantern.com> Date: Fri, 9 Aug 2013 22:27:29 +0900 Content-Transfer-Encoding: 7bit Message-Id: <872CC8BE-F677-4933-811C-924E21E21173@kba.biglobe.ne.jp> References: <09EC9380-2BAE-4669-B03C-E365FFE1CB00@kba.biglobe.ne.jp> <130807235610.ZM24023@torch.brasslantern.com> <130808225913.ZM25757@torch.brasslantern.com> To: "zsh-workers@zsh.org" X-Mailer: Apple Mail (2.1508) On 2013/08/09, at 14:59, Bart Schaefer wrote: > The result of all this is that with an optspec in the "*-I-" format, > the -I by itself is treated as successful but ambiguous completion, > rather than as a finished option string that needs its argument. Thanks for the analysis and explanation. I feel I've understood at least something, but also feel that the mist gets thicker and thicker as I go deeper into the completion system ... Anyway, thank you again for your 'zstyle -e' trick.