Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to custom reedline history input msg #315

Open
baoyachi opened this issue Feb 17, 2022 · 3 comments
Open

How to custom reedline history input msg #315

baoyachi opened this issue Feb 17, 2022 · 3 comments
Labels
A-History Area: History management enhancement New feature or request

Comments

@baoyachi
Copy link

baoyachi commented Feb 17, 2022

I need to know the history input and when. Can this be customized ?
E.g:

~ history
2022-02-07 15:06:03.26 [ls]
2022-02-07 15:06:03.27 [pwd]
2022-02-07 15:06:03.30 [ls -al |grep 'hello']
...
~
@baoyachi baoyachi added the enhancement New feature or request label Feb 17, 2022
@fdncred
Copy link
Collaborator

fdncred commented Feb 17, 2022

a datetime stamp isn't currently stored in the history, so that would take some design and a pr i think. a datetime stamp will definitely be there if we ever get around to implementing the sqlite version of history.

@baoyachi
Copy link
Author

I see now reedline record in file. https://github.com/nushell/reedline#integrate-with-custom-history

@baoyachi
Copy link
Author

baoyachi commented Feb 17, 2022

May be can solve the problem of custom display first.
Then next solve about how to storage.

@sholderbach sholderbach added the A-History Area: History management label Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-History Area: History management enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants