Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh completer for ps, procees viewer
- X-seq: zsh-users 17658
- From: joe M <joe9mail@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: zsh completer for ps, procees viewer
- Date: Fri, 1 Mar 2013 23:50:18 -0500
- 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==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author