Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
completion example
- X-seq: zsh-users 4479
- From: Jesper Holmberg <jesper.holmberg@xxxxxxxxxxxxxxxx>
- To: Zsh-users List <zsh-users@xxxxxxxxxx>
- Subject: completion example
- Date: Fri, 16 Nov 2001 19:25:36 +0100
- Mail-followup-to: Zsh-users List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi all,
I found this in one of the example-files:
compctl -j -P '%' + -s '`ps -x | tail +2 | cut -c1-5`' + \
-x 's[-] p[1]' -k "($signals[1,-3])" -- kill
If I try to use it, wanting to kill a certain PID, say 238, I hit
"kill 2[tab]", and get the following output:
kill 2Bad syntax, perhaps a bogus '-'?
38
Now, the funny thing is this actually works; process 238 will be killed if
I hit return. But how do I get rid of the error message?
TIA
Jesper
--
Jesper Holmberg |"But how can |
jesper.holmberg@xxxxxxxxxxxxxxxx | one be warm |
ENST Br, BP 832, 29285 Brest, FRANCE | alone?" |
Messages sorted by:
Reverse Date,
Date,
Thread,
Author