nushell/crates/nu-protocol/src
phiresky 42dbfd1fa0
SQLite History MVP with timestamp, duration, working directory, exit status metadata (#5721)
This PR adds support for an SQLite history via nushell/reedline#401

The SQLite history is enabled by setting history_file_format: "sqlite" in config.nu.

* somewhat working sqlite history
* Hook up history command
* Fix error in SQlitebacked with empty lines

When entering an empty line there previously was the "No command run"
error with `SqliteBackedHistory` during addition of the metadata

May be considered a temporary fix

Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
2022-06-14 22:53:33 +02:00
..
ast Attempts to add // math operator (#5759) 2022-06-13 13:54:47 +03:00
engine Remove dfr from dataframe commands (#5760) 2022-06-12 14:18:00 -05:00
value filesize conversion (#5770) 2022-06-13 14:44:32 -05:00
cli_error.rs Change miette theme based on ANSI config (#5588) 2022-05-19 13:59:14 -05:00
config.rs SQLite History MVP with timestamp, duration, working directory, exit status metadata (#5721) 2022-06-14 22:53:33 +02:00
example.rs Start support for commandline args to nu itself (#851) 2022-01-27 01:42:39 +11:00
exportable.rs Add export alias and export extern (#4878) 2022-03-20 07:58:01 +13:00
id.rs Overlays (#5375) 2022-05-08 07:39:22 +12:00
lib.rs Overlays (#5375) 2022-05-08 07:39:22 +12:00
module.rs Overlays (#5375) 2022-05-08 07:39:22 +12:00
pipeline_data.rs feat: Add sensitive flag to get, fix #4295 (#5685) 2022-06-01 08:34:42 -05:00
shell_error.rs Overlay keep (#5629) 2022-05-25 09:22:17 +12:00
signature.rs Address lints from clippy for beta/nightly (#5709) 2022-06-04 18:47:36 +12:00
span.rs Remove 'empty' block support reminders, for now. (#5214) 2022-04-30 22:32:30 -05:00
syntax_shape.rs nu-cli: directory syntax shape + completions (#5299) 2022-04-22 15:18:51 -05:00
ty.rs Remove dfr from dataframe commands (#5760) 2022-06-12 14:18:00 -05:00
variable.rs Add support for var decl spans (#4787) 2022-03-09 04:42:19 -05:00