Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: default to file completion
- X-seq: zsh-users 16646
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Zsh users <zsh-users@xxxxxxx>
- Subject: Re: default to file completion
- Date: Sun, 18 Dec 2011 14:57:42 +0100
- 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=
- In-reply-to: <20111218101116.GA4446@miek.nl>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20111218101116.GA4446@miek.nl>
On 18 December 2011 11:11, Miek Gieben <miek@xxxxxxx> 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 <TAB>
>
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author