You can use the right arrow key to complete a suggestion.
TODO
This could also be a toolbar option.
For suggestions to be more effective I think we'd need to use a FileHistory instead of an InMemoryHistory which is persisted between sessions. Another option is to hook up to something more general like .bash_history.
We might need special handling for the .edit command if we switch to FileHistory as that could load a ton of history--maybe on aws-shell startup we can tag where we are in the history and only load from that checkpoint.
Suggest
Complete Suggestion
You can use the
right arrow key
to complete a suggestion.TODO
This could also be a toolbar option.
For suggestions to be more effective I think we'd need to use a
FileHistory
instead of anInMemoryHistory
which is persisted between sessions. Another option is to hook up to something more general like.bash_history
.We might need special handling for the
.edit
command if we switch toFileHistory
as that could load a ton of history--maybe onaws-shell
startup we can tag where we are in the history and only load from that checkpoint.