atuin/atuin-client/src
Ellie Huxtable 88f3e2a04f
Add enter_accept to immediately execute an accepted command (#1311)
* make enter execute the command, tab copy it

* Add config for enter_accept

enter_accept will make Atuin immediately accept an execute a command
when selected. It defaults to false in our binary, but the default
config enables it.

This means that users who already use atuin will not default to the new
behaviour unless they opt in, but new users will have it by default.

Thanks to @davidhewitt for the patch and bulk of this implementation!
Currently we have it just for zsh, but I'll follow up with other shells
(unless anyone beats me to it :D)

* Add docs

* we need to tidy up the ui code anyway

* Check if using zsh

* Update docs/docs/config/config.md

Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>

---------

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
2023-10-20 07:16:54 +01:00
..
history replace chrono with time (#806) 2023-09-11 09:26:05 +01:00
import refactor: Duplications reduced in order to align implementations of reading history files (#1247) 2023-09-23 08:56:55 +00:00
record Add connect timeout and overall timeout (#1238) 2023-09-18 08:39:19 +01:00
api_client.rs fix sync timestamps (#1258) 2023-09-28 18:56:40 -07:00
database.rs clear history id (#1263) 2023-10-08 16:15:14 +00:00
encryption.rs replace chrono with time (#806) 2023-09-11 09:26:05 +01:00
history.rs handle missing entries (fixes #1236) (#1253) 2023-09-26 14:52:45 +01:00
kv.rs Update dependencies (#1181) 2023-08-18 20:45:29 +00:00
lib.rs Automatically filter out secrets (#1182) 2023-08-19 12:28:39 +01:00
ordering.rs ignore JetBrains IDEs, tidy-up imports (#348) 2022-04-28 18:53:59 +01:00
secrets.rs handle missing entries (fixes #1236) (#1253) 2023-09-26 14:52:45 +01:00
settings.rs Add enter_accept to immediately execute an accepted command (#1311) 2023-10-20 07:16:54 +01:00
sync.rs clear history id (#1263) 2023-10-08 16:15:14 +00:00