Interactive shell hooks.