Hi!
I just tried read about the complete command in the bash-manpage and tried
complete -A signal -P '-' kill
hoping that I could do:
kill -SIG<tab>
However, bash currently uses the prefix only if I do
kill SIG<tab>
ending up in
kill -SIG<tab>
which in turn gives me no completions. :-( Thinking about this, is the -P
prefix thingy useful like this in other cases? I can't imagine one right now?
Never mind if this behaviour is intended, I am just curious if I can use
it like that in the future. ;-)
Bye,
/ /
/--/
/ / ANS
/me continues exploring the manpage.. ;-)