From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24714 invoked by alias); 2 Mar 2013 04:50:24 -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: 17658 Received: (qmail 24758 invoked from network); 2 Mar 2013 04:50:23 -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=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.128.45 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=xrc5MIbnUDmxuE1FO1Axo3lvoEu4aVlM93m0E3HxBTg=; b=cXy5JhOKamQdm31t1mhYrbbphhcip70j4wI5ahKrZqtNY8Rv9TZJ6akPpl8vEtW6pz XolVXISV2sdn9ldbyRacdcbxlEfiKkvA9vT+RGSldxW2kQLdLHTOWrxk3BTTJubBDaSi BEwFgkD1QdHN5/BHWFQVnmTZ11VINumnym1MFKc3dgF5C5GZu782vQCFtgEPE3WV4nQM L62+Zm7a79lQ6n2S4jgnXslzhitzdHRN0pCW0roHTKdl1HDgGA0aJ0nGHmJlRDfzO5fM gSANYhTrdWx8XnoKaEq4rQKWuOuS674f1YhRpWA9hxm0O/n2x/GKdvmhnxX8gN1pwzG8 oITQ== MIME-Version: 1.0 X-Received: by 10.224.138.148 with SMTP id a20mr23696734qau.38.1362199818508; Fri, 01 Mar 2013 20:50:18 -0800 (PST) Date: Fri, 1 Mar 2013 23:50:18 -0500 Message-ID: Subject: zsh completer for ps, procees viewer From: joe M To: zsh-users@zsh.org Content-Type: text/plain; charset=ISO-8859-1 Hello, On my gentoo system, I notice that _ps is the below and does not show the options for ps, the process viewer. which _ps _ps () { local expl ext='' if [[ "$1" = '-z' ]] then ext='(|.bz2|.gz|.Z)' shift fi _description files expl 'PostScript file' _files "$@" "$expl[@]" -g "*.(#i)(ps|eps)$ext(-.)" } _ps is a shell function _ps: Just wanted to check if it is the same across other distros. 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? Thanks Joe