From: Phil Pennock <zsh-workers+phil.pennock@spodhuis.org>
To: joe M <joe9mail@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: zsh completer for ps, procees viewer
Date: Sat, 2 Mar 2013 02:52:56 -0500 [thread overview]
Message-ID: <20130302075256.GA27047@redoubt.spodhuis.org> (raw)
In-Reply-To: <CAHjjW16azP_hb42LdtrOfv3ZvwOUnm_nP4Yqq6WfWN-kTa+XEQ@mail.gmail.com>
On 2013-03-01 at 23:50 -0500, joe M wrote:
> It is located at /usr/share/zsh/5.0.2/functions/Completion/Unix/_ps in
> my system.
>
> Is there a completion file for ps, the process viewer, floating around?
Yes, it's in the Solaris/ sub-directory, which normally comes first in
$fpath and so is used in preference to the Unix/ one, even on BSD
systems.
As to _why_ it's Solaris/_ps for ps(1) and Unix/_ps for handling
postscript: I do not know.
If your OS has stripped the Solaris/ items, then you're missing
completions for gcore, ptree and others, not just the real ps(1)
completions.
Oh, and the Solaris/_ps only handles ps options with a dash, but even
BSDs take those variants these days.
-Phil
prev parent reply other threads:[~2013-03-02 8:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-02 4:50 joe M
2013-03-02 6:11 ` Tomasz Pala
2013-03-02 7:52 ` Phil Pennock [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=20130302075256.GA27047@redoubt.spodhuis.org \
--to=zsh-workers+phil.pennock@spodhuis.org \
--cc=joe9mail@gmail.com \
--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).