gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Add command history persistence across sessions

Open raman118 opened this issue 2 months ago • 1 comments

Right now, when you close Gemini CLI and reopen it, you lose all your command history. You can't press the up arrow to see previous commands from yesterday or last week. Add a feature to:

Save command/prompt history to disk (like bash history) Let users press ↑/↓ arrows to browse previous commands across sessions Add a /history command to search past commands Make it configurable (turn on/off, history size limit)

Developers repeat similar prompts daily You often need to recall exact wording from days ago Every other CLI tool (bash, zsh, psql) has this It's annoying to manually search through checkpoint files just to find what you asked last week

raman118 avatar Dec 07 '25 21:12 raman118

Found possible duplicate issues:

  • #8640
  • #4205
  • #14622
  • #11249
  • #12816
  • #11758

If you believe this is not a duplicate, please remove the status/possible-duplicate label.

gemini-cli[bot] avatar Dec 07 '25 21:12 gemini-cli[bot]