aboutsummaryrefslogtreecommitdiffstats
path: root/crates/client/src/command
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--crates/client/src/command/client/history/start.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/client/src/command/client/history/start.rs b/crates/client/src/command/client/history/start.rs
index 81aaa904..defd46a3 100644
--- a/crates/client/src/command/client/history/start.rs
+++ b/crates/client/src/command/client/history/start.rs
@@ -6,9 +6,10 @@ use crate::{
use eyre::{Result, eyre};
use time::OffsetDateTime;
use tracing::debug;
+use turtle::History;
use turtle_common::utils;
use turtle_daemon::{
- aclient::history::{History, SettingsFilter},
+ aclient::history::SettingsFilter,
api::client::{HistoryClient, daemon_matches_expected, daemon_mismatch_message},
};
@@ -23,7 +24,7 @@ pub(super) async fn handle(
let cwd = utils::get_current_dir();
let command = normalize_command_for_storage(command, settings);
- let mut h: History = History::capture()
+ let mut h: History = History::daemon()
.timestamp(OffsetDateTime::now_utc())
.command(command)
.cwd(cwd)