aws / aws/amazon-q-developer-cli

Support session command line recall history

Open
#2,365 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

zsh and other shells allow command line recall history via
```
# Location of your history file
HISTFILE=~/.zsh_history

# Number of commands to keep in memory
HISTSIZE=5000

# Number of commands to save to disk
SAVEHIST=5000

# Append to the history file instead of overwriting it
setopt APPEND_HISTORY

# Share history between all sessions
setopt SHARE_HISTORY

# Immediately append each command to the history file (not only on exit)
setopt INC_APPEND_HISTORY
```
commands.

Implement something similar so that command line recall can be persistent across q shells. This is super useful if the q dies/terminal disconnects/etc . Decisions will need to be made about a single global versus specific but zsh/bash decisions can guide here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.