Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] _pgrep: Add -w on Linux
- X-seq: zsh-workers 40838
- From: Eitan Adler <lists@xxxxxxxxxxxxxx>
- To: Wieland Hoffmann <themineo@xxxxxxxxx>
- Subject: Re: [PATCH] _pgrep: Add -w on Linux
- Date: Sun, 12 Mar 2017 17:38:01 -0700
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kF+3QKb4dkeArywCJrjOWvZ6r8SOpk3446u4w2ot3Fo=; b=lUexE3qvbjGwo0vQcqh2TAFJuj435CNhDdpVfQGT5eY53uqNIy35gPGshkOr6t17s+ BA010LMbiVVH6cGrvX4uoRZHeXsKjxNmh+wWblIDcmdFGXDE3nlONb87IBS62a7nwDt/ CQv5L9Qpc1jO3YcL2V6u8HOZsdZBA5H9rFFPE=
- In-reply-to: <20170312101630.29242-1-themineo@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: <20170312101630.29242-1-themineo@gmail.com>
On 12 March 2017 at 03:16, Wieland Hoffmann <themineo@xxxxxxxxx> wrote:
> @@ -28,6 +28,7 @@ arguments=('-P[parent process id]:parent process id:->ppid'
> '-q[do not write anything to standard output]'
> '-S[search also in system processes]'
> '-v[negate matching]'
> + '-w[show thred ids instead of pids]'
^ "thread" ?
> '-x[match exactly]'
> '-z[match only in zones]:zone:_zones')
>
> @@ -41,7 +42,7 @@ fi
> local optchars
--
Eitan Adler
On 12 March 2017 at 03:16, Wieland Hoffmann <themineo@xxxxxxxxx> wrote:
> This was added in procps-ng 3.3.7.
> ---
> Completion/Unix/Command/_pgrep | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Completion/Unix/Command/_pgrep b/Completion/Unix/Command/_pgrep
> index 0b7d23d4d..913805bc1 100644
> --- a/Completion/Unix/Command/_pgrep
> +++ b/Completion/Unix/Command/_pgrep
> @@ -28,6 +28,7 @@ arguments=('-P[parent process id]:parent process id:->ppid'
> '-q[do not write anything to standard output]'
> '-S[search also in system processes]'
> '-v[negate matching]'
> + '-w[show thred ids instead of pids]'
> '-x[match exactly]'
> '-z[match only in zones]:zone:_zones')
>
> @@ -41,7 +42,7 @@ fi
> local optchars
> case "$OSTYPE" in
> linux*)
> - optchars="cflvxdnoPgsuUGt"
> + optchars="cflvxdnoPgsuUGtw"
> ;;
> freebsd*)
> optchars="LSafilnoqvxFGMNPUdgjstu"
> --
> 2.12.0
>
--
Eitan Adler
Messages sorted by:
Reverse Date,
Date,
Thread,
Author