Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Using the same completion function for various commands
- X-seq: zsh-users 15615
- From: JÃrÃmie Roquet <arkanosis@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Using the same completion function for various commands
- Date: Mon, 6 Dec 2010 16:01:09 +0100
- Cc: mrichter@xxxxxxxxxxxxxxxxxxxxxxxx, Mikael Magnusson <mikachu@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=ndE5tdcd0lmxgI/UTbHk6yl3ar1raXPFuHZRYcRqnmg=; b=QJr4rrYLdjRBpULszqEtj6VVdNAYRttR2z3gVE2rz8XvxgZooIgLtfGRRgCklPpWaq Nc5a9CVIoaO9zqTTBFlXTSzz6FaHXqwOQaW2eq3UoRAmjVNsIVUs4W5TIAR1NrGHForr W7XHFgxhy0lliRAnnYS1QXvZHr8sa7wmppK8c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=k4+fUZhDrP/rRICeWHF7ycCh/pa5xBR/PLkznNbFVe8pDyWfe3IJov4WKKyM9BAqkj zd5asjtYqk7Q/cxObKuFOQlpoWvPdedYYkelv6nQ2wrbViPJ7Y3blvL0Ysf/gYUZ4LBo pKx3R7d87x6CbfgR5+beNRWAIEXvYh+2+oW+I=
- In-reply-to: <AANLkTimY=rEETn1uOdkDJ33kGE=YUDAvevsBvvvMU7YL@xxxxxxxxxxxxxx>
- 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: <201012061512.21791.mrichter@xxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTimY=rEETn1uOdkDJ33kGE=YUDAvevsBvvvMU7YL@xxxxxxxxxxxxxx>
Hi,
2010/12/6 Mikael Magnusson <mikachu@xxxxxxxxx>:
> You can also do this in your .zshrc instead of in the completer if you
> wish, just write
> compdef _foo -p 'foo_*'
>
> At least that's what the documentation says, it doesn't seem to work that well.
It works fine for me with 4.3.10, did I miss something?
Best regards,
--
JÃrÃmie
Messages sorted by:
Reverse Date,
Date,
Thread,
Author