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

Re: more process with kill



> > i want to know how to have all process of a user
> > with kill (i have only childs process of current shell).

oh sorry the completion for kill.... sorry - it's late.  i don't know
much about the new completion system; with the old one you could just
change 'ps x' to 'ps ux'

compctl -j -P '%' + -s '`ps x | tail +2 | cut -c1-5`' + \
        -x 's[-] p[1]' -k "($signals[1,-3])" -- kill killall

for the new system you'd probably want to edit the function '_pids'
(which is called from the _kill function).

sorry for being so obtuse...

w

-- 
Sintax error in config file! (line 378)
aborted!

GPG Public Key:
http://infinitejazz.net/will/pgp/



Messages sorted by: Reverse Date, Date, Thread, Author