From: Jeff Shipman <shippy@nmt.edu>
To: <zsh-users@sunsite.dk>
Subject: process completion
Date: Tue, 20 Mar 2001 10:20:50 -0700 (MST) [thread overview]
Message-ID: <Pine.LNX.4.31.0103201017170.8255-100000@neptune> (raw)
At home I'm using zsh 3.1.6 and I have process
completion like the following:
shippy@neptune:~> kill 82<TAB>
8212 ttyp0 00:00:00 zsh
8253 ttyp0 00:00:00 zsh
8254 ttyp0 00:00:00 ps
I really like how aligned it is and shows you
the name of the process. However, at work I'm
using the example compctl file downloaded from
zsh.org, and I get something like this:
jeff@reznor:~> kill -9 <TAB>
1700 1782 1783 1784 28628 31806
The line that does this in the compctl file
at my work is:
# kill takes signal names as the first argument after -, but job names after %
# or PIDs as a last resort
compctl -j -P '%' + -s '`ps -a | tail +2 | cut -c1-5`' + \
-x 's[-] p[1]' -k "($signals[1,-3])" -- kill
At home, however, I cannot seem to find a file that
has this defined and typing 'compctl' doesn't show
anything for kill. I like the behavior that I get at
home better. Is this something that's built into
zsh? If so, how can I get it at work?
BTW, at home I'm using 3.1.6 and at work I'm using 3.1.9.
Thanks in advance.
Jeff "Shippy" Shipman E-Mail: shippy@nmt.edu
Computer Science Major ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy
next reply other threads:[~2001-03-20 17:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-20 17:20 Jeff Shipman [this message]
2001-03-20 22:50 ` Oliver Kiddle
2001-03-21 0:19 ` Jeff Shipman
2001-03-21 9:42 ` Bart Schaefer
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=Pine.LNX.4.31.0103201017170.8255-100000@neptune \
--to=shippy@nmt.edu \
--cc=zsh-users@sunsite.dk \
/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).