Remove unused variable in run_prompt_command()