From: joe M <joe9mail@gmail.com>
To: zsh-users@zsh.org
Subject: zsh completer for ps, procees viewer
Date: Fri, 1 Mar 2013 23:50:18 -0500 [thread overview]
Message-ID: <CAHjjW16azP_hb42LdtrOfv3ZvwOUnm_nP4Yqq6WfWN-kTa+XEQ@mail.gmail.com> (raw)
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
next reply other threads:[~2013-03-02 4:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-02 4:50 joe M [this message]
2013-03-02 6:11 ` Tomasz Pala
2013-03-02 7:52 ` Phil Pennock
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=CAHjjW16azP_hb42LdtrOfv3ZvwOUnm_nP4Yqq6WfWN-kTa+XEQ@mail.gmail.com \
--to=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).