atuin/atuin-common/src
Matthieu LAURENT c56f8ff736
Add xonsh support (#1375)
* Add basic xonsh support

* Add init xonsh command

* Add Xonsh install instructions in docs

* Add xonsh ctrl-R search

* update xonsh script and instructions

Summary of changes:
* Added duration to postcommand hook
* Switched main search operation to use `subproccess.run()` rather than running as an xonsh shell command - this a) allows us to capture stderr without needing a temporary file and b) avoids a weird broken-buffer state that results from running a fullscreen TUI and then programmatically editing the buffer
* Added support for immediately executing chosen command via `__atuin_accept__:` (like bash/zsh/fish)

* strip newline from command before sending to atuin

* Add basic xonsh support

* Add init xonsh command

* Add xonsh ctrl-R search

* Remove advanced-install guide (was accidentally re-added during rebase)

* Clean up

Xonsh doesn't import private functions into the local namespace when sourcing a file

* Add xonsh ro readme

* Respect ATUIN_NOBIND

* Format with black, and improve PEP8 compliance

* Add up search

* Format rust code

---------

Co-authored-by: Joseph Montanaro <jfmonty2@gmail.com>
2024-01-29 12:17:36 +00:00
..
api.rs feat: Add change-password command & support on server (#1615) 2024-01-29 11:17:10 +00:00
calendar.rs refactor (#327) 2022-04-22 19:24:38 +01:00
lib.rs Add new sync (#1093) 2023-07-14 20:44:08 +01:00
record.rs feat: rework record sync for improved reliability (#1478) 2024-01-05 17:57:49 +00:00
utils.rs Add xonsh support (#1375) 2024-01-29 12:17:36 +00:00