Bart Schaefer wrote:
The trick is to understand the terminology. :-)
I don't do this yet ):
However, it seems that _arguments gets confused when faced with an argument that resembles an option, because although the above does the right thing when asked to complete several process names, and also does the right thing when completing after "killall -s KILL", it fails to complete after "killall -KILL".
So what your code improves? May be the solution is to generate -SIGNALS as options? -- sergio.