Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Suggestion for _killall



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