From: "Dražen Kačar" <dave@fly.srk.fer.hr>
To: zsh-workers@sunsite.dk
Subject: Re: Questions about _values
Date: Mon, 26 Jan 2009 22:10:48 +0100 [thread overview]
Message-ID: <20090126211048.GA31328@fly.srk.fer.hr> (raw)
In-Reply-To: <m3hc3mkc8c.fsf@klanderman.net>
Greg Klanderman wrote:
> >>>>> Dra <Dra> writes:
>
> > Argument is a PID, completed with _values.
>
> Have you looked at the "kill" completions? It already does basically
> what you are trying to do..
Almost. I'm trying to write completions for Solaris proc commands. Most
of them can operate on PIDs or core files. I set to writing my own
completions when zsh didn't want to complete core files. I know I can
bind a key to force file completion, but that should work out of the
box.
I also wanted to complete process list based on privileges the user has,
but privileges don't seem to be usable for this. It's still mostly root
or ordinary user.
--
.-. .-. Yes, I am an agent of Satan, but my duties are largely
(_ \ / _) ceremonial.
|
| dave@fly.srk.fer.hr
prev parent reply other threads:[~2009-01-26 21:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-25 23:36 Dražen Kačar
2009-01-26 2:55 ` Greg Klanderman
2009-01-26 21:10 ` Dražen Kačar [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=20090126211048.GA31328@fly.srk.fer.hr \
--to=dave@fly.srk.fer.hr \
--cc=zsh-workers@sunsite.dk \
/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).