Run shell command without deleting prompt
Resolved 💬 2 comments Opened Apr 12, 2026 by tom-huntington Closed Apr 13, 2026
What variant of Codex are you using?
CLI
What feature would you like to see?
I frequently like to add context by editing the code and running !git diff
However, once I have started writing the prompt it becomes very cumbersome do run a shell command. You have to copy the prompt, delete it, run the bang command, then paste back the prompt.
Can we just run a ! bang command anytime, rather than only before writing the prompt?
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗