aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-client/src/import/resh.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/atuin-client/src/import/resh.rs')
-rw-r--r--crates/atuin-client/src/import/resh.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/atuin-client/src/import/resh.rs b/crates/atuin-client/src/import/resh.rs
index 1be23396..de02d041 100644
--- a/crates/atuin-client/src/import/resh.rs
+++ b/crates/atuin-client/src/import/resh.rs
@@ -8,7 +8,7 @@ use serde::Deserialize;
use atuin_common::utils::uuid_v7;
use time::OffsetDateTime;
-use super::{Importer, Loader, get_histpath, unix_byte_lines};
+use super::{Importer, Loader, get_histfile_path, unix_byte_lines};
use crate::history::History;
use crate::import::read_to_end;
@@ -85,7 +85,7 @@ impl Importer for Resh {
const NAME: &'static str = "resh";
async fn new() -> Result<Self> {
- let bytes = read_to_end(get_histpath(default_histpath)?)?;
+ let bytes = read_to_end(get_histfile_path(default_histpath)?)?;
Ok(Self { bytes })
}