Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tab-completion for processes in /proc
- X-seq: zsh-users 23602
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Jörg Sommer <joerg@xxxxxxxxxxxx>
- Subject: Re: Tab-completion for processes in /proc
- Date: Mon, 3 Sep 2018 13:59:43 +0000
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=BFVNny OVevQn8qR9PDdF1c62y83Xs78iFL8coD4i6oA=; b=HlWBzAIiSBa6LmZ9N35Vtn lUBOdPg8wpBw6RmbExB/9jeA10H7rPbQzRuK/JkU7BpSy7zr4W/VFfDXVo8kN33U bL4cAumMip+HF7uMtbIhKwplicBhv3zIRIrP2RtPrryxwIzaCTqJvGGFmXtUn5Kh AB97y6OCyPGI9a0BNVF0XMdsH7+FEBbnKIBMCnloX6dfms8WNS37Q+1rp8QFVZSU h/HVS1jq93yamdt+GX9FfGjUXUU5wl/O8soO5zwHRU4XwG+kgphaoT1zdi6nBg6f JYf6TK7VmA6t4GKPLSEP5fnwK2djjUIsECe/l4CTKC6uJTiBQCLYdO82mdjvCnnQ ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=BFVNny OVevQn8qR9PDdF1c62y83Xs78iFL8coD4i6oA=; b=m08eHh2frmfLqLyL9AkQ8Y W/vC5sjl9Muty19JWkg460AH+5oXHTlYP9nvV4fXXNJRXC267v/Q92UR3EWahAG8 hED1rLYSK/2ZwDJ9blx9JmjGgKbC0MAneM9KQmT5J7i5Jqz8DiRi1U6kdhJBaDwe f4RmA9FxgCHEa4Q74HfNHrk96mYuecPLg3VymozimX4U6sm+/jFszz+B0KF+J7a+ JLN7LLRryL6XUEMGHTE1IS3T/6XeFCOb0VZRH6jxg/+X7tICYazRlvKrB8Y6DdX+ AufxuCXpf0cUDXZd4w6isHxl7yeAVI02k6MGi6CvGZNpYJRLLD1g5GIYGCXxE3VA ==
- In-reply-to: <20180901155031.xq45aeaonsxxaqpu@alea.gnuu.de>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author