From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1087 invoked by alias); 21 Sep 2014 22:07:42 -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: 19132 Received: (qmail 3082 invoked from network); 21 Sep 2014 22:07:41 -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 From: Bart Schaefer Message-id: <140921150746.ZM1564@torch.brasslantern.com> Date: Sun, 21 Sep 2014 15:07:46 -0700 In-reply-to: Comments: In reply to "Yuri D'Elia" "Re: rsync --progress stops completion" (Sep 21, 10:37pm) References: <2002755.9ryFYYVtTN@note> <5418786F.8030001@thregr.org> <140916175124.ZM5742@torch.brasslantern.com> <54194198.2010607@thregr.org> <140917085133.ZM6725@torch.brasslantern.com> <541AA918.8060503@thregr.org> <140918093602.ZM7963@torch.brasslantern.com> <140918190130.ZM8366@torch.brasslantern.com> <140920112024.ZM29459@torch.brasslantern.com> <140921102006.ZM31805@torch.brasslantern.com> <140921123854.ZM1299@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "Yuri D'Elia" , zsh-users@zsh.org Subject: Re: rsync --progress stops completion MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Sep 21, 10:37pm, Yuri D'Elia wrote: } } And as I say it, an obvious tweak: only enable the fallback if we're } attempting to complete a new word. This prevents the fallback to be } triggered if we're attempting to complete a bad argument/file name. I don't think that's necessary; the fallback will simply fail as well if the option or file name is actually bad, and if you require that the word be empty you can't alternate tabbing and typing to resolve any ambiguous matches. But if all you care is listing or to enter menu selection, that's fine.