Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh completer for ps, procees viewer
- X-seq: zsh-users 17660
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: joe M <joe9mail@xxxxxxxxx>
- Subject: Re: zsh completer for ps, procees viewer
- Date: Sat, 2 Mar 2013 02:52:56 -0500
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201210; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=9UyomWThPrEcddU2ik7v2G1eaBPJqWiFAG2w9H2F/6o=; b=J5aNtAVLxgL3w9Jjk6rChy1W4nztNrB7ykUtCY6eyPoOprcEs8tCM4Hmm+X4P7N5kvcS9IfEa5wGi5nGCPD30OPbayIIo4DdWl+8gUygSU6Qd9df0J/Q/sEhJOz+kVgZAtmmOVOG7elneTkD+5uSdkbRJh+ATV9DTjj59/fd0Lg=;
- In-reply-to: <CAHjjW16azP_hb42LdtrOfv3ZvwOUnm_nP4Yqq6WfWN-kTa+XEQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: joe M <joe9mail@xxxxxxxxx>, zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author