From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23566 invoked by alias); 2 Mar 2013 08:10:14 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17660 Received: (qmail 17083 invoked from network); 2 Mar 2013 08:10:12 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,RCVD_IN_DNSWL_MED,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at spodhuis.org does not designate permitted sender hosts) 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=; Date: Sat, 2 Mar 2013 02:52:56 -0500 From: Phil Pennock To: joe M Cc: zsh-users@zsh.org Subject: Re: zsh completer for ps, procees viewer Message-ID: <20130302075256.GA27047@redoubt.spodhuis.org> Mail-Followup-To: joe M , zsh-users@zsh.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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