Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: incorrect setopt completion
- X-seq: zsh-workers 36207
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: incorrect setopt completion
- Date: Mon, 17 Aug 2015 22:02:21 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=3u79wBXXazVEP3EFjnBkOBnyyhI=; b=S3dxdk 1aoh1onT4/HXPcMh6M5H5NllcZMlRj3BffdFo8YmnaV4TvPvN6Lc9CGwwX/+8uGt hzLoFa7QlzhQE0kCOR12VUIVjTXeu27evxK6GuJGvYzI1RBcbkXijl22VIvi4lVk +MQv9ue8JU5ZYA3vBtPfcpAisbi/wRLZnRUB0=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=3u79wBXXazVEP3EFjnBkOBnyyhI=; b=NMV8d /oVZn+vYlMxxHYvsnyT3T6KdLqSD+NzFOZCgOWBU6+La5FWC8fJgnTDsr+leMmcG q/WGUoCoCFXlQZ9XyhJwtU7rXPU6RVQODnYMhdLWAVgISXctKCszkxASjj/1XsOQ wizUhPnipzS/590mSQhujnBJ5EHzGu1/i/auqs=
- In-reply-to: <CAHYJk3RqWHvn3nBWmh16GvP0BNEDrekcpkcPTHtt0AHJMfN_iQ@mail.gmail.com>
- 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
- References: <20150815000543.GA2043@zira.vinc17.org> <CAHYJk3RqWHvn3nBWmh16GvP0BNEDrekcpkcPTHtt0AHJMfN_iQ@mail.gmail.com>
Mikael Magnusson wrote on Sat, Aug 15, 2015 at 03:02:45 +0200:
> If anyone is very bored, they could make a separate variable that gets
> checked instead of / in addition to isset(PRINTEXITVALUE) in relevant
> places, and leave the value of the option alone, but for now I'll just
> do this.
I think my PRINT_EXIT_VALUE branch (discussed in another thread) does
this:
https://github.com/danielshahaf/zsh/commit/ba8c0a1afd5c000cbb86aa988e85bd8ba7cf99ff
> -onopts=( ${(k)_comp_caller_options[(R)on]} )
> +onopts=( ${(k)_comp_caller_options[(R)on]} printexitvalue )
I suggest a comment explaining why printexitvalue is special-cased. (So
people don't have to run 'git blame' and then search the list archives.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author