nushell/crates/nu-cli/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
..
completions Add NU config to allow user be able to turn off external completion (#5773) 2022-06-14 14:28:11 -05:00
menus Remove dfr from dataframe commands (#5760) 2022-06-12 14:18:00 -05:00
commands.rs add the ability to change table mode when running script (#5520) 2022-05-12 07:27:44 -05:00
config_files.rs SQLite History MVP with timestamp, duration, working directory, exit status metadata (#5721) 2022-06-14 22:53:33 +02:00
eval_file.rs input and output types (#5750) 2022-06-10 10:59:35 -05:00
lib.rs Error printing changes for watch (#5389) 2022-05-01 19:33:41 +12:00
nu_highlight.rs feat: add search terms to category of strings (#5723) 2022-06-06 08:47:09 -05:00
print.rs fix: normalize some parameter names (#5725) 2022-06-06 09:42:13 -05:00
prompt_update.rs adjust where prompt markers go (#5491) 2022-05-10 16:33:18 -05:00
prompt.rs adjust where prompt markers go (#5491) 2022-05-10 16:33:18 -05:00
reedline_config.rs Move help menu to canonical F1 binding (#5510) 2022-05-19 08:24:04 -05:00
repl.rs SQLite History MVP with timestamp, duration, working directory, exit status metadata (#5721) 2022-06-14 22:53:33 +02:00
syntax_highlight.rs nu-cli: directory syntax shape + completions (#5299) 2022-04-22 15:18:51 -05:00
util.rs While starting nu, force PWD to be current working directory (#5751) 2022-06-10 13:01:08 -05:00
validation.rs Add an alias denylist for expansions (#4871) 2022-03-19 08:03:57 +13:00