atuin/atuin-client
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
..
migrations Add history deletion (#791) 2023-03-20 09:26:54 +00:00
record-migrations Add new sync (#1093) 2023-07-14 20:44:08 +01:00
src Add enter_accept to immediately execute an accepted command (#1311) 2023-10-20 07:16:54 +01:00
Cargo.toml Bump shellexpand from 2.1.2 to 3.1.0 (#1186) 2023-09-13 08:45:08 +01:00
config.toml Add enter_accept to immediately execute an accepted command (#1311) 2023-10-20 07:16:54 +01:00