Skip to content

Consider loading persistent_history_file into cmd2 history in addition to readline history #669

@rowdyrotifer

Description

@rowdyrotifer

@tleonhardt previously mentioned this following in #265 (when readline history was introduced)

We would need to decide if this is done for readline history, cmd2 history command history, or both. Perhaps there would be two separate options for making each of these persistent?

In the implementation of this feature (#270) only readline history support was implemented.

I think it would in fact make sense for this file to also affect the cmd2 history command, as this is the behavior that other shells exhibit with their history files. It seems more consistent and expected to have both histories linked up.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions