From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: better killall completion
Date: Wed, 27 Dec 2000 11:35:15 -0500 [thread overview]
Message-ID: <20001227113515.B10488@dman.com> (raw)
In-Reply-To: <20001226233125.A31760@dman.com>; from schizo@debian.org on Tue, Dec 26, 2000 at 11:31:25PM -0500
And now lets strip parentheses and leading paths.
Index: Completion/User/_killall
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_killall,v
retrieving revision 1.5
diff -u -r1.5 _killall
--- Completion/User/_killall 2000/12/27 04:34:05 1.5
+++ Completion/User/_killall 2000/12/27 16:27:48
@@ -3,7 +3,7 @@
if [[ "$OSTYPE" = linux* ]]; then
_alternative \
'signals:: _signals -p' \
- 'processes:process:{ compadd "$expl[@]" ${${${(f)"$(_call processes-names ps ${${EUID/(#s)0(#e)/xa}//[0-9]#/} ho cmd 2> /dev/null)"//[][]/}:#(ps|COMMAND|-*)}%%\ *} }'
+ 'processes:process:{ compadd "$expl[@]" ${${${${(f)"$(_call processes-names ps ${${EUID/(#s)0(#e)/xa}//[0-9]#/} ho cmd 2> /dev/null)"//[][\(\)]/}:#(ps|COMMAND|-*)}%%\ *}:t} }'
else
_signals -p
fi
prev parent reply other threads:[~2000-12-27 16:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-26 21:19 Clint Adams
2000-12-27 4:31 ` Clint Adams
2000-12-27 16:35 ` Clint Adams [this message]
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=20001227113515.B10488@dman.com \
--to=schizo@debian.org \
--cc=zsh-workers@sunsite.auc.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).