zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Arseny Maslennikov <ar@cs.msu.ru>
Cc: zsh-workers@zsh.org
Subject: Re: [PATCH v2 2/3] Introduce new completion for setpriv(1) on Linux
Date: Mon, 22 Mar 2021 11:18:16 +0100	[thread overview]
Message-ID: <CAHYJk3TH7o5gg1XdvgJxobW7gU=0fJpDef=EoxqOXx7NvnPkrg@mail.gmail.com> (raw)
In-Reply-To: <20210321130131.1667276-2-ar@cs.msu.ru>

On 3/21/21, Arseny Maslennikov <ar@cs.msu.ru> wrote:
> This is a utility from util-linux which sets or queries various Linux
> process privilege settings that are inherited across execve(2). More
> info is available in the corresponding manual page[1].
[...]
> +  if ! compset -P '[+-]'; then
> +    _description minus-or-plus expl "-/+"
> +    compadd "${(@)expl}" -qS '' {+,-}
[...]
> +    compadd "${(@)expl}" -qS '' {+,-}

{+,-} is exactly the same as + - so it's a little needlessly
complicated. That said I don't think it's worth resending just for
that... but if someone goes in there again to edit it, feel free to
change those.

-- 
Mikael Magnusson


  reply	other threads:[~2021-03-22 10:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-21 13:01 [PATCH v2 1/3] Introduce new completion for Linux task capabilities Arseny Maslennikov
2021-03-21 13:01 ` [PATCH v2 2/3] Introduce new completion for setpriv(1) on Linux Arseny Maslennikov
2021-03-22 10:18   ` Mikael Magnusson [this message]
2021-03-21 13:01 ` [RFC PATCH v2 3/3] _setpriv: complete multiple --dump with argument states Arseny Maslennikov
2021-03-27 16:28   ` Lawrence Velázquez
2021-03-27 16:28 ` [PATCH v2 1/3] Introduce new completion for Linux task capabilities Lawrence Velázquez
2021-03-28 10:57   ` Oliver Kiddle
2021-03-29  6:38     ` Duplicated X-Seq? (was: Re: Re: [PATCH v2 1/3] Introduce new completion for Linux task capabilities) Daniel Shahaf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHYJk3TH7o5gg1XdvgJxobW7gU=0fJpDef=EoxqOXx7NvnPkrg@mail.gmail.com' \
    --to=mikachu@gmail.com \
    --cc=ar@cs.msu.ru \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).