From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 520 invoked by alias); 18 Dec 2011 14:04:33 -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: 16646 Received: (qmail 10094 invoked from network); 18 Dec 2011 14:04:21 -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.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.212.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qeaLsgdL9eHKx9zIftFFDxVgAZS9KDreBPM8dhCNPlQ=; b=duUD4lBqv8O21YUmXgqzk6ID6baskPTD4gZ4e8gJxloyr9z7hIRzTOHrcHwPpHPm7C PwPyvGNZgmCtEOQQGVnevbKo3qCcPc+4ULcEw4okT8N6GYe72+bmuR8NwEuFr5ljupVo M/hezNK8CfM02+R/BSj1LbbiG5zFMLqo7BKKA= MIME-Version: 1.0 In-Reply-To: <20111218101116.GA4446@miek.nl> References: <20111218101116.GA4446@miek.nl> Date: Sun, 18 Dec 2011 14:57:42 +0100 Message-ID: Subject: Re: default to file completion From: Mikael Magnusson To: Zsh users Content-Type: text/plain; charset=UTF-8 On 18 December 2011 11:11, Miek Gieben wrote: > Hello, > > I've tried searching a bit, but I can not seem to find this specific > problem. I've enablef completion in zsh and now I'm running a program > of my own making (hence unknown to zsh): 'scan' > > If I use tab completion the following happens: > > ./scan -zone > > And nothing gets completed. How can I tell zsh to fallback to filename > completion at that point? "scan" is a command that already has completion in zsh (it's part of mh), but if you don't have mh it won't be able to produce any completions. To disable a bundled completion, run compdef -d scan after running compinit. -- Mikael Magnusson