zsh-users
 help / color / mirror / code / Atom feed
* zsh completer for ps, procees viewer
@ 2013-03-02  4:50 joe M
  2013-03-02  6:11 ` Tomasz Pala
  2013-03-02  7:52 ` Phil Pennock
  0 siblings, 2 replies; 3+ messages in thread
From: joe M @ 2013-03-02  4:50 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-02  8:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-02  4:50 zsh completer for ps, procees viewer joe M
2013-03-02  6:11 ` Tomasz Pala
2013-03-02  7:52 ` Phil Pennock

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).