Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: #conpdef and compadd
- X-seq: zsh-users 17143
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: #conpdef and compadd
- Date: Fri, 15 Jun 2012 13:06:43 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=w9hz+lVeI5u/hK9Z7A3PbccTK4DKiaA/weJo/xwex7k=; b=cJrfroarH23z5BRlqWLYP7kJMdITvVOmB9anCawpQsLdRClYG4Ee9qn9R70mAqDf0p oDQmhxZ6Ufts3Fnr4OLaaFc84D3zjwyhUVEVvANDhnblQ/AN/iXq0EXN5sTyKw6lmuvH KUh/iyQJSyO2s+VNqzirXAeUB3gz0sc2lItfpuDOxcGNK4LDYyFINPFAj2ttd88fAuTs mSqtgmQy8rfRPdMkJQ97VZIySkFSZfWs10uxo2vaurmzg94lRUOgRl0iSWu8fYAvICPg E5bFmxd1NsbcZJCqt0diSDSDWddnX0V16g1PgWTmAjRA6huhcQtMT44CMR555KxnIxrx Zn0A==
- In-reply-to: <mailbox-14780-1339753132-855345@pepper>
- 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: <20120521214023.GB10763@lorien.comfychair.org> <120521194232.ZM990@torch.brasslantern.com> <20120522050158.GC26384@lorien.comfychair.org> <20120522051617.GD26384@lorien.comfychair.org> <mailbox-14780-1339753132-855345@pepper>
On 15/06/2012, Eric Smith <es@xxxxxxxxxxxx> wrote:
> I use #compdef and compadd in a function to define completion
> that follows a command (or commands).
>
> How do I define a compadd that looks up in a list of files when there is no
>
> preceding command, so it is for the first token on the command
> line?
-command-
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author