diff options
| author | Koichi Murase <myoga.murase@gmail.com> | 2024-04-02 17:02:08 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-02 09:02:08 +0100 |
| commit | f881ce5c8707f6bc68897de480d82f8a8ab7aa4a (patch) | |
| tree | dc0a8fdbf38331e46241a8a8807849c2751e54c1 /atuin-client/src/settings.rs | |
| parent | chore(deps): flake.lock: Update (#1910) (diff) | |
| download | atuin-f881ce5c8707f6bc68897de480d82f8a8ab7aa4a.zip | |
fix(doctor): detect preexec plugin using env ATUIN_PREEXEC_BACKEND (#1856)
* refactor(doctor): update func names and desc to match current impl
* fix(doctor): use environment variable to detect plugin if possible
In this patch, if the plugin provides an environment variable, we use
the environment variable to test the existence of the plugin. When an
environment variable is not available, we continue to use the mock
interactive session by "shell -ic command". We also test
shell-specific plugins only in the corresponding shells. An
additional test can be performed by a custom function for each plugin.
Diffstat (limited to 'atuin-client/src/settings.rs')
0 files changed, 0 insertions, 0 deletions
