Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: killall completion
Peter Stephenson wrote:
Look at Completion/Zsh/Command/_kill, which does something similar.
Yes, writing this completion I've looked at _kill, _killall and other
completions in /usr/share/zsh.
The trick is to treat the signal as the first argument.
But "killall -i -KILL process" also allowed.
I'm not quite sure how it gets away with letting you complete processes
without a signal, but it does seem to work.
I understand even less.
--
sergio
Messages sorted by:
Reverse Date,
Date,
Thread,
Author