pub fn update_prompt(
config: &Config,
engine_state: &EngineState,
stack: &mut Stack,
)Expand description
Re-evaluate $env.PROMPT_COMMAND and friends and install the result as the
prompt’s per-cycle baseline. This overwrites anything a background job pushed
during the previous cycle, resetting the prompt for the next line.