diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-04-02 12:13:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-02 12:13:00 +0100 |
| commit | 48b4e347766c378658f848e846192010fb3c92ee (patch) | |
| tree | 276908d224538403acdb4fe13bd8cb05e0f3fca9 /atuin-client | |
| parent | chore(deps): bump sysinfo from 0.30.6 to 0.30.7 (#1888) (diff) | |
| download | atuin-48b4e347766c378658f848e846192010fb3c92ee.zip | |
feat(search): add better search scoring (#1885)
* feat(search): add better search scoring
* add opt-in
Diffstat (limited to 'atuin-client')
| -rw-r--r-- | atuin-client/src/settings.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atuin-client/src/settings.rs b/atuin-client/src/settings.rs index 487e61b7..97a0b4b7 100644 --- a/atuin-client/src/settings.rs +++ b/atuin-client/src/settings.rs @@ -385,6 +385,7 @@ pub struct Settings { pub network_timeout: u64, pub local_timeout: f64, pub enter_accept: bool, + pub smart_sort: bool, #[serde(default)] pub stats: Stats, @@ -631,6 +632,7 @@ impl Settings { .set_default("keymap_mode", "emacs")? .set_default("keymap_mode_shell", "auto")? .set_default("keymap_cursor", HashMap::<String, String>::new())? + .set_default("smart_sort", false)? .set_default( "prefers_reduced_motion", std::env::var("NO_MOTION") |
