Set or remove the function invoked by the rl_startup_hook callback. The function is called with no arguments just before readline prints the first prompt.
readline/set_startup_hook
set_startup_hook