Purely theoretically, is this the sort of thing where a hook might be used?Thanks. No way of getting one's hands on _arguments then in the way I was speculating.Not really. Hooks are typically for things driven from the C code, where an escape to shell control extends the default behavior, whereas _arguments is entirely shell code