diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2022-10-14 10:59:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-14 10:59:21 +0100 |
| commit | f03f6e9ad74d8e1cf1fa33dc2c0c7c5dd7ae5c94 (patch) | |
| tree | aa03f60230b3bc96485806724383bfd6e4cc6b1d /src/command/client/search.rs | |
| parent | Fix ZSH import print (diff) | |
| download | atuin-f03f6e9ad74d8e1cf1fa33dc2c0c7c5dd7ae5c94.zip | |
Add automatic update checking (#555)
* Add automatic update checking
* Add setting to opt out of update checks
* Document options
* no
* no
* also no
* Make clippy happy
* Update atuin-client/src/settings.rs
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
* fix features
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
Diffstat (limited to 'src/command/client/search.rs')
| -rw-r--r-- | src/command/client/search.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/command/client/search.rs b/src/command/client/search.rs index eda20ac5..1cef1ffc 100644 --- a/src/command/client/search.rs +++ b/src/command/client/search.rs @@ -63,14 +63,7 @@ pub struct Cmd { impl Cmd { pub async fn run(self, db: &mut impl Database, settings: &Settings) -> Result<()> { if self.interactive { - let item = interactive::history( - &self.query, - settings.search_mode, - settings.filter_mode, - settings.style, - db, - ) - .await?; + let item = interactive::history(&self.query, settings, db).await?; eprintln!("{}", item); } else { let list_mode = ListMode::from_flags(self.human, self.cmd_only); |
