Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Suggestion for _killall
- X-seq: zsh-workers 8671
- From: Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Suggestion for _killall
- Date: 18 Nov 1999 22:24:48 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Hi,
I suggest this patch for _killall to also complete command names:
--- _killall~ Sun Nov 7 23:43:03 1999
+++ _killall Thu Nov 18 22:16:05 1999
@@ -4,3 +4,5 @@
_description expl signal
compadd "$expl[@]" $signals[1,-3]
fi
+
+compadd ${$(ps ho comm 2> /dev/null)#ps}
Unfortunately, ps behaves different on each platform, so I don't know
if this is really portable.
Falk
Messages sorted by:
Reverse Date,
Date,
Thread,
Author