sub-routines should insert themselves into prompt_command, not the old
versions of themselves