Skip to content

Conversation

@jjb
Copy link

@jjb jjb commented Jan 18, 2026

  • persistent command history
  • notes

@jjb
Copy link
Author

jjb commented Jan 18, 2026

@spacewander @hyperupcall take a look

@jjb
Copy link
Author

jjb commented Jan 18, 2026

i have comments in the code discussing different approaches we could take

Copy link
Collaborator

@spacewander spacewander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will vote for write command to history in all cases except for blank. Non-git command may be important to record.

# global history for all projects. we could make option for per-project history
# for my use, i want this global history, and it's also much more simple to implement
# name is analogous to bash_history and zsh_history
HISTFILE=~/.git_repl_history
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to make it configurable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants