awslabs / aws-shell

An integrated shell for working with the AWS CLI.
Apache License 2.0
7.17k stars 772 forks source link

Implement #29: Maintain history between sessions. #47

Closed donnemartin closed 8 years ago

donnemartin commented 8 years ago

We now use FileHistory as our general purpose history which is persisted between sessions. We also use an InMemoryHistory so that the special .edit command will only show commands from the current session. In the future, it might be cleaner to combine these two history attributes into a History class.

donnemartin commented 8 years ago

@jamesls I'll have limited availability until after hours. If you'd like to include this with the initial PyPI release please feel free to merge it in for me, I might not get to it in time.

jamesls commented 8 years ago

@donnemartin No problem. Are you ok with me merging the other pull requests you have open as well?

donnemartin commented 8 years ago

That would be great thanks!

jamesls commented 8 years ago

Looks good to me.