From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: "Jörg Sommer" <joerg@alea.gnuu.de>
Cc: zsh-users@zsh.org
Subject: Re: Tab-completion for processes in /proc
Date: Mon, 3 Sep 2018 13:59:43 +0000 [thread overview]
Message-ID: <20180903135943.ic7j54aodlijilmt@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <20180901155031.xq45aeaonsxxaqpu@alea.gnuu.de>
Jörg Sommer wrote on Sat, Sep 01, 2018 at 17:50:31 +0200:
> is it possible to have tab-completion for the pid in /proc? I would like
> to type `cat /proc/xte<TAB>` and get a list of pids of all processes
> matching `xte`.
There is already logic for completing process names to pids, used by,
e.g., «kill xte<TAB>». I'm not sure what the easiest way to connect
it to file completion would be.
prev parent reply other threads:[~2018-09-03 13:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-01 15:50 Jörg Sommer
2018-09-03 13:59 ` Daniel Shahaf [this message]
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=20180903135943.ic7j54aodlijilmt@tarpaulin.shahaf.local2 \
--to=d.s@daniel.shahaf.name \
--cc=joerg@alea.gnuu.de \
--cc=zsh-users@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).