Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug with emulation in completion?
- X-seq: zsh-workers 30815
- From: Felipe Contreras <felipe.contreras@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Bug with emulation in completion?
- Date: Thu, 22 Nov 2012 10:41:11 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=qNtSZzUGMjNfRoNvqgoXXhr5uwpfBewTipAMftAr87g=; b=P6gPB+1ww1aOI58MMGt9QzLZM73z71wywJP4aDoevH/JRk9rYKmazFCkbXr9XwQfVG fF6F4J++SJs4qJjTsfOikyarEhjNPFJe88FvJqFV1xemAJMCTxpUG6fwZGRnR1/8Ff2v zKshEoe+XSBpC/pnnobjhgHJ6Q3nL349hV8PeCvkwD8pHkU3TAcSV+2QlPlo4wd17aco kaw7mGpMzawpKAXZp3NauYdm2G+0NM7kRP3s+V2fPdc1n6J+LmS8/Y4MYCAAcUyJe7N2 FbiMukp1BlaNJnovbWQslGwHQTjg7xfl0WqTYXKc/hPU461k1I+qGko83M2PJM8bL69R s39A==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi,
Check this script:
_foo_1 () {
emulate -L zsh
_arguments '--one' '--two'
}
_foo_2 () {
_arguments '--one' '--two'
}
compdef _foo_1 foo
With _foo_2 the completion cycles the options properly, but not with _foo_1.
Ideas?
--
Felipe Contreras
Messages sorted by:
Reverse Date,
Date,
Thread,
Author